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>

source§

fn clone(&self) -> Box<dyn CloneableAny>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementations on Foreign Types§

source§

impl<T: 'static + Clone> CloneableAny for Vec<T>

Implementors§