pub trait AnyCloneable: AsAny + DynClone + Debug { }
Expand description

A trait for types that can be converted to Any and can also be cloned.

Trait Implementations§

source§

impl<'clone> Clone for Box<dyn AnyCloneable + 'clone>

source§

fn clone(&self) -> Box<dyn AnyCloneable + 'clone>

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
source§

impl<'clone> Clone for Box<dyn AnyCloneable + Send + 'clone>

source§

fn clone(&self) -> Box<dyn AnyCloneable + Send + 'clone>

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
source§

impl<'clone> Clone for Box<dyn AnyCloneable + Sync + Send + 'clone>

source§

fn clone(&self) -> Box<dyn AnyCloneable + Sync + Send + 'clone>

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
source§

impl<'clone> Clone for Box<dyn AnyCloneable + Sync + 'clone>

source§

fn clone(&self) -> Box<dyn AnyCloneable + Sync + 'clone>

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

Implementors§

source§

impl<T> AnyCloneable for T
where T: Clone + Debug + Any + 'static,