[][src]Trait bevy_ecs::Command

pub trait Command: Send + Sync {
    pub fn write(self: Box<Self>, world: &mut World, resources: &mut Resources);
}

A World mutation

Required methods

pub fn write(self: Box<Self>, world: &mut World, resources: &mut Resources)[src]

Loading content...

Implementors

impl<T> Command for Insert<T> where
    T: DynamicBundle + Send + Sync + 'static, 
[src]

impl<T: Resource> Command for InsertResource<T>[src]

Loading content...