Trait Junction

Source
pub trait Junction: DynClone {
    // Required method
    fn calculate(&self, a: f64, b: f64) -> f64;
}

Required Methods§

Source

fn calculate(&self, a: f64, b: f64) -> f64

Implementors§

Source§

impl<T> Junction for T
where T: Fn(f64, f64) -> f64 + Clone,