[−][src]Struct l8r::L8r
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]
W: ContainsHecsWorld,
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]
&mut self,
ent: Entity,
components_bundle: C
)
pub fn spawn<C: 'static + Send + Sync + DynamicBundle>(
&mut self,
components_bundle: C
)
[src]
&mut self,
components_bundle: C
)
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,