[][src]Struct l8r::L8r

pub struct L8r<W>(_);

Methods

impl<W> L8r<W>[src]

pub fn new() -> Self[src]

pub fn schedule(&mut self, then: Box<dyn FnOnce(&mut W)>)[src]

pub fn l8r<F: 'static + Send + Sync + FnOnce(&mut W)>(&mut self, then: F)[src]

pub fn drain(&mut self) -> Vec<Box<dyn FnOnce(&mut W)>>[src]

pub fn now(l8rs: Vec<Box<dyn FnOnce(&mut W)>>, world: &mut W)[src]

impl<W> L8r<W> where
    W: ContainsHecsWorld
[src]

pub fn insert_one<C: Component>(&mut self, ent: Entity, component: C)[src]

pub fn remove_one<C: Component>(&mut self, ent: Entity)[src]

pub fn insert<C: 'static + Send + Sync + DynamicBundle>(
    &mut self,
    ent: Entity,
    components_bundle: C
)
[src]

pub fn spawn<C: 'static + Send + Sync + DynamicBundle>(
    &mut self,
    components_bundle: C
)
[src]

pub fn despawn(&mut self, entity: Entity)[src]

Auto Trait Implementations

impl<W> !RefUnwindSafe for L8r<W>

impl<W> !Send for L8r<W>

impl<W> !Sync for L8r<W>

impl<W> Unpin for L8r<W>

impl<W> !UnwindSafe for L8r<W>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.