Derive Macro actionable_macros::Dispatcher [−][src]
#[derive(Dispatcher)]
{
// Attributes available to this derive:
#[dispatcher]
}
Expand description
Derives the Dispatcher trait.
This trait requires the input parameter to be specified. The full list of
parameters that can be customized are:
inputType:#[dispatcher(input = "EnumName")]. The enum name here needs to have hadActionablederived on it.- Crate name override:
#[actionable(actionable = "someothername")]. If you find yourself needing to importactionableas another name, this setting will replace all mentions ofactionablewith the identifier specified.
The input type must be in scope, as do the derived traits generated by
deriving Actionable.
