pub fn entity_tag_types(&self, entity: Entity) -> Option<&[(TagTypeId, TagMeta)]> {
        if !self.is_alive(entity) {
            return None;
        }
        let location = self.entity_locations.get(entity);
        let archetype = location
            .map(|location| self.storage().archetype(location.archetype()))
            .unwrap_or(None);
        archetype.map(|archetype| archetype.description().tags())
    }
/// Returns the entity's tag types, if the entity exists.
Returns the entity's tag types, if the entity exists.
Returns the entity ' s tag types if the entity exists .
pub fn entity_tag_types(&self, entity: Entity) -> Option<&[(TagTypeId, TagMeta)]> {
        if !self.is_alive(entity) {
            return None;
        }
        let location = self.entity_locations.get(entity);
        let archetype = location
            .map(|location| self.storage().archetype(location.archetype()))
            .unwrap_or(None);
        archetype.map(|archetype| archetype.description().tags())
    }
pub fn entity_tag_types ( & self , entity : Entity ) -> Option < & [ ( TagTypeId , TagMeta ) ] > { if ! self . is_alive ( entity ) { return None ; } let location = self . entity_locations . get ( entity ) ; let archetype = location . map ( | location | self . storage ( ) . archetype ( location . archetype ( ) ) ) . unwrap_or ( None ) ; archetype . map ( | archetype | archetype . description ( ) . tags ( ) ) }
Returns the entity's tag types, if the entity exists.
Returns the entity ' s tag types if the entity exists .
&self
entity
Entity
&self
entity
Entity