pub trait PrfBoxClone {
    // Required method
    fn box_clone(&self) -> Box<dyn Prf>;
}
Expand description

Trait bound to indicate that primitive trait objects should support cloning themselves as trait objects.

Required Methods§

source

fn box_clone(&self) -> Box<dyn Prf>

Implementors§

source§

impl<T> PrfBoxClone for Twhere T: 'static + Prf + Clone,

Default implementation of the box-clone trait bound for any underlying concrete type that implements Clone.