pub trait CloneableAny: CloneableImpl { }
Expand description
Trick to make a cloneable Any from https://stackoverflow.com/questions/30353462/how-to-clone-a-struct-storing-a-boxed-trait-object/30353928#30353928.
Trait Implementations§
Source§impl Clone for Box<dyn CloneableAny>
impl Clone for Box<dyn CloneableAny>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more