logo
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.

Required 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).

Implementors