Trait Command

Source
pub trait Command:
    Send
    + Sync
    + 'static {
    // Required method
    fn execute(self, world: &mut World);
}

Required Methods§

Source

fn execute(self, world: &mut World)

Implementors§

Source§

impl Command for DespawnCommand

Source§

impl<T: Bundle + Send + Sync + 'static> Command for InsertCommand<T>

Source§

impl<T: Bundle + Send + Sync + 'static> Command for RemoveCommand<T>

Source§

impl<T: Bundle + Send + Sync + 'static> Command for SpawnCommand<T>