Trait modalkit::commands::DefaultCommands
source · pub trait DefaultCommands<C: Command>: Default {
// Required method
fn setup(self, machine: &mut CommandMachine<C>);
}
Expand description
A collection of default commands.
Required Methods§
sourcefn setup(self, machine: &mut CommandMachine<C>)
fn setup(self, machine: &mut CommandMachine<C>)
Insert the commands contained by this object into a CommandMachine.
Object Safety§
This trait is not object safe.