pub struct EntityBuilder<'a> { /* private fields */ }
Expand description

An entity builder.

Implementations

Adds a component to the entity. Adding already present component will have no effect.

Builds a new entity and returns its identifier.

Panics
  • if specified archetype is not found;
  • if specified component types != archetype component types;

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.