Trait modalkit::actions::Commandable
source · pub trait Commandable<C, I>where
C: Command,
I: ApplicationInfo,{
// Required method
fn command(
&mut self,
action: &CommandAction,
ctx: &C::Context
) -> UIResult<Vec<(C::Action, C::Context)>, I>;
}
Expand description
Trait for objects which can process CommandActions.