/// Checks if an `Entity` reference is valid.
Checks if an `Entity` reference is valid.
Checks if an ` Entity ` reference is valid .
pub fn is_valid_entity(&self, entity: &Entity) -> bool {
        match self.active.get(entity.idx) {
            Some(&uuid) => {
                uuid != 0 && entity.uuid == uuid
            },
            None => false,
        }
    }
pub fn is_valid_entity ( & self , entity : & Entity ) -> bool { match self . active . get ( entity . idx ) { Some ( & uuid ) => { uuid != 0 && entity . uuid == uuid } , None => false , } }
Checks if an `Entity` reference is valid.
Checks if an ` Entity ` reference is valid .
&self
entity
&Entity