pub trait IntoAction {
// Required method
fn into_action(self, action_type: ActionType) -> Action;
}Expand description
Trait for types that can be converted into an action
Required Methods§
Sourcefn into_action(self, action_type: ActionType) -> Action
fn into_action(self, action_type: ActionType) -> Action
Convert into an action