pub fn iter_instance_entities(
        &'_ self,
        instance_id: InstanceId,
    ) -> Option<impl Iterator<Item = Entity> + '_> {
        self.spawned_instances
            .get(&instance_id)
            .map(|instance| instance.entity_map.values())
    }
/// Get an iterator over the entities in an instance, once it's spawned
Get an iterator over the entities in an instance, once it's spawned
Get an iterator over the entities in an instance once it ' s spawned
pub fn iter_instance_entities(
        &'_ self,
        instance_id: InstanceId,
    ) -> Option<impl Iterator<Item = Entity> + '_> {
        self.spawned_instances
            .get(&instance_id)
            .map(|instance| instance.entity_map.values())
    }
pub fn iter_instance_entities ( & ' _ self , instance_id : InstanceId , ) -> Option < impl Iterator < Item = Entity > + ' _ > { self . spawned_instances . get ( & instance_id ) . map ( | instance | instance . entity_map . values ( ) ) }
Get an iterator over the entities in an instance, once it's spawned
Get an iterator over the entities in an instance once it ' s spawned
&'_ self
instance_id
InstanceId
&'_ self
instance_id
InstanceId