Struct entity_data::EntityStorage
source · [−]pub struct EntityStorage { /* private fields */ }Expand description
A container of entities.
Implementations
Creates an empty EntityStorage.
Returns EntityBuilder of the new entity.
Returns a reference to the specified archetype.
Returns a mutable reference to the specified archetype.
Returns a reference to the component C of the specified entity.
Returns a mutable reference to the component C of the specified entity.
Removes an entity from the storage. Returns true if the entity was present in the storage.