CloneBox

Trait CloneBox 

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

克隆特征

Required Methods§

Source

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

克隆到Box

Implementors§

Source§

impl<T> CloneBox for T
where T: 'static + Clone,