Trait ActionCast

Source
pub trait ActionCast<T> {
    // Required method
    fn cast(&self) -> T;
}

Required Methods§

Source

fn cast(&self) -> T

Implementors§

Source§

impl<T> ActionCast<T> for Box<dyn ActionTrait>
where T: ActionTrait + Default + Clone,