pub fn remove(&mut self, entity: &EntityId) -> bool {
        if let Some(arch) = self.archetypes.get_mut(entity.archetype_id as usize) {
            arch.remove(entity.id)
        } else {
            false
        }
    }
/// Removes an entity from the storage. Returns `true` if the entity was present in the storage.
Removes an entity from the storage. Returns `true` if the entity was present in the storage.
Removes an entity from the storage . Returns ` true ` if the entity was present in the storage .
pub fn remove(&mut self, entity: &EntityId) -> bool {
        if let Some(arch) = self.archetypes.get_mut(entity.archetype_id as usize) {
            arch.remove(entity.id)
        } else {
            false
        }
    }
pub fn remove ( & mut self , entity : & EntityId ) -> bool { if let Some ( arch ) = self . archetypes . get_mut ( entity . archetype_id as usize ) { arch . remove ( entity . id ) } else { false } }
Removes an entity from the storage.
Removes an entity from the storage .
&mut self
entity
&EntityId
&mut self
entity
&EntityId