pub trait Builder {
fn with<C: Component + Send + Sync>(self, c: C) -> Self;
fn build(self) -> Entity;
}
Expand description
A common trait for EntityBuilder
and LazyBuilder
, allowing either to be used.
Entity is definitely alive, but the components may or may not exist before a call to
World::maintain
.