muse2::input::region

Function try_insert_region

Source
fn try_insert_region(
    entity_id: Rc<str>,
    region_id: &str,
    region_ids: &HashSet<Rc<str>>,
    entity_regions: &mut HashMap<Rc<str>, RegionSelection>,
) -> Result<()>
Expand description

Try to insert a region ID into the specified map