pub struct SpawnBundle<A> { /* private fields */ }Expand description
One entity and its initial attachments, accepted or rejected together.
Implementations§
Source§impl<A: Stores> SpawnBundle<A>
impl<A: Stores> SpawnBundle<A>
pub fn new() -> Self
pub fn at<S: DomainSpace>(self, domain: DomainHandle<S>, pose: Pose<S>) -> Self
pub fn at_chart(self, domain: DomainId, pose: ChartPose) -> Self
pub fn instance(self, instance: Instance) -> Self
pub fn row<T: Send + 'static>(self, row: T) -> Selfwhere
A: HasStore<T>,
Trait Implementations§
Auto Trait Implementations§
impl<A> Freeze for SpawnBundle<A>
impl<A> !RefUnwindSafe for SpawnBundle<A>
impl<A> Send for SpawnBundle<A>
impl<A> !Sync for SpawnBundle<A>
impl<A> Unpin for SpawnBundle<A>
impl<A> UnsafeUnpin for SpawnBundle<A>
impl<A> !UnwindSafe for SpawnBundle<A>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more