pub trait ActionName {
type Group: ActionGroupName;
type Target;
type State;
fn name() -> &'static str;
fn action_name() -> String { ... }
}
Expand description
Define the name of an action.
Associated Types
type Group: ActionGroupName
type Group: ActionGroupName
The group of this action.
Target value type for passing values to this action.
Use [()
] for actions without target value.
Required methods
Provided methods
fn action_name() -> String
fn action_name() -> String
The full action name (group.action).