Struct shard_ecs::entity_registry::registry::EntityRegistry[][src]

pub struct EntityRegistry { /* fields omitted */ }

Implementations

Returns true if there is space left to store a new entity record.

Registers a new entity into the registry.

Registers a new entity into the registry.

pub fn get_entity_entry(&self, entity: Entity) -> Option<&EntityEntry>

pub fn get_entity_entry_mut(
    &mut self,
    entity: Entity
) -> Option<&mut EntityEntry>

Removes an entity from the registry.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.