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§

source

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.

Implementors§