pub fn list_entities(&self) -> Vec<Entity> {
        self.active.iter().enumerate()
            .filter(|&(_, &uuid)| uuid != 0)
            .filter(|&(idx, &uuid)| {
                if let Some(&other_uuid) = self.ent_added.get(&idx) {
                    if uuid == other_uuid {
                        return false;
                    }
                }
                true
            })
            .map(|(idx, &uuid)| Entity{ idx: idx, uuid: uuid })
            .collect::<Vec<Entity>>()
    }
/// Returns a vector listing all the currently active entities.
/// Can be used to iterate over all active entities while making changes to the world.
Returns a vector listing all the currently active entities.
Can be used to iterate over all active entities while making changes to the world.
Returns a vector listing all the currently active entities . Can be used to iterate over all active entities while making changes to the world .
pub fn list_entities(&self) -> Vec<Entity> {
        self.active.iter().enumerate()
            .filter(|&(_, &uuid)| uuid != 0)
            .filter(|&(idx, &uuid)| {
                if let Some(&other_uuid) = self.ent_added.get(&idx) {
                    if uuid == other_uuid {
                        return false;
                    }
                }
                true
            })
            .map(|(idx, &uuid)| Entity{ idx: idx, uuid: uuid })
            .collect::<Vec<Entity>>()
    }
pub fn list_entities ( & self ) -> Vec < Entity > { self . active . iter ( ) . enumerate ( ) . filter ( | & ( _ , & uuid ) | uuid != 0 ) . filter ( | & ( idx , & uuid ) | { if let Some ( & other_uuid ) = self . ent_added . get ( & idx ) { if uuid == other_uuid { return false ; } } true } ) . map ( | ( idx , & uuid ) | Entity { idx : idx , uuid : uuid } ) . collect :: < Vec < Entity > > ( ) }
Returns a vector listing all the currently active entities.
Returns a vector listing all the currently active entities .
&self
&self