WorkCounterClone

Trait WorkCounterClone 

Source
pub(super) trait WorkCounterClone {
    // Required method
    fn clone_box(&self) -> Box<dyn WorkCounter>;
}
Expand description

Make WorkCounter trait objects cloneable

Required Methods§

Source

fn clone_box(&self) -> Box<dyn WorkCounter>

Clone the object

Implementors§

Source§

impl<T: 'static + WorkCounter + Clone> WorkCounterClone for T