muse2::input::region

Function read_regions_for_entity

Source
pub fn read_regions_for_entity<T>(
    file_path: &Path,
    entity_ids: &HashSet<Rc<str>>,
    region_ids: &HashSet<Rc<str>>,
) -> Result<HashMap<Rc<str>, RegionSelection>>
Expand description

Read region IDs associated with a particular entity.

ยงArguments

file_path - Path to CSV file entity_ids - All possible valid IDs for the entity type region_ids - All possible valid region IDs