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.

Returns the number of entities in the storage.

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.