pub struct EntityBuilder<'a> { /* private fields */ }
Expand description
Adds a component to the entity. Adding already present component will have no effect.
Builds a new entity and returns its identifier.
- if specified archetype is not found;
- if specified component types != archetype component types;
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.