pub trait Actionable<GivenState>:
DynClone
+ Send
+ Sync
+ 'static {
// Required method
fn into_actionable(self: Box<Self>, state: GivenState) -> ActiveAction;
}Expand description
Allows actions to be type erased into dynamic boxed containers.
Required Methods§
Sourcefn into_actionable(self: Box<Self>, state: GivenState) -> ActiveAction
fn into_actionable(self: Box<Self>, state: GivenState) -> ActiveAction
Take a given boxed action and state and return an active actionable.