pub trait AddEntity {
    type Component;

    fn add_entity(
        storage: &mut Self,
        entity: EntityId,
        component: Self::Component
    ); }
Expand description

Trait describing how to add a new entity to a storage.

Required Associated Types

Required Methods

Adds a new entity with component.

Implementations on Foreign Types

Implementors