intuicio_framework_ecs::commands

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>