Trait quantmath::risk::PricerClone[][src]

pub trait PricerClone {
    fn clone_box(&self) -> Box<Pricer>;
}

For some reason that I do not understand, the rust compiler runs into an infinite recursion issue if we try to implement this with generics, the same as clone_box is implemented elsewhere. Thus you need to implement this manually in each pricer.

Required Methods

Implementors