MethodFactory

Trait MethodFactory 

Source
pub trait MethodFactory {
    // Required method
    fn build(&self) -> Box<dyn CallableMethod>;
}

Required Methods§

Source

fn build(&self) -> Box<dyn CallableMethod>

Implementors§

Source§

impl<F, C> MethodFactory for F
where C: 'static + MethodCallable, F: Fn() -> C,