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

The group of this action.

Target value type for passing values to this action.

Use [()] for actions without target value.

State type of this action.

Use [()] for stateless actions.

Required methods

Returns the actions name.

Provided methods

The full action name (group.action).