Trait Executable

Source
pub trait Executable<O> {
    // Required method
    fn execute(self: Box<Self>, world: &mut World) -> O;
}
Expand description

A trait to be implemented by structs that need to be able to execute something on the client.

Required Methods§

Source

fn execute(self: Box<Self>, world: &mut World) -> O

Implementors§