[]Trait bevy::ecs::Command

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

A World mutation

Required methods

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

Loading content...

Implementors

impl Command for SpawnScene

impl Command for SpawnSceneAsChild

impl Command for DespawnRecursive

impl Command for InsertChildren

impl Command for PushChildren

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

impl<T> Command for InsertResource<T> where
    T: Resource

Loading content...