CloneBox

Trait CloneBox 

Source
pub trait CloneBox<T: FloatNumber, D: Dim> {
    // Required method
    fn clone_box(&self) -> Box<dyn ObjectiveFunction<T, D>>;
}

Required Methods§

Source

fn clone_box(&self) -> Box<dyn ObjectiveFunction<T, D>>

Implementors§

Source§

impl<T: FloatNumber, D: Dim, F: ObjectiveFunction<T, D> + Clone + 'static> CloneBox<T, D> for F