ActionCast

Trait ActionCast 

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

Required Methods§

Source

fn cast(&self) -> T

Implementations on Foreign Types§

Source§

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

Source§

fn cast(&self) -> T

Implementors§