intrepid_core/action/actionable.rs
use super::ActiveAction;
#[dyn_clonable::clonable]
/// Allows actions to be type erased into dynamic boxed containers.
pub trait Actionable<GivenState>: Clone + Send + Sync + 'static {
/// Take a given boxed action and state and return an active actionable.
fn into_actionable(self: Box<Self>, state: GivenState) -> ActiveAction;
}