pub struct EntityComponentManager<E> where
    E: EntityStore
{ /* private fields */ }
Expand description

The EntityComponentManager represents the main entity and component storage.

Implementations

Create a new entity component manager.

Returns references to the component store and entity store.

Returns mutable references to the component store and entity store.

Return a reference to the component container.

Return a mutable reference to the component container.

Return a reference to the entity container.

Return a mutable reference to the entity container.

Creates a new entity and returns a returns an TypeEntityBuilder.

Register a new entity.

Removes a entity from the manager.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.