Skip to main content

CloneAnySend

Trait CloneAnySend 

Source
pub trait CloneAnySend: Any + CloneToAnySend { }
Expand description

See also Any for a version without the Clone + Send requirements.

Trait Implementations§

Source§

impl Clone for Box<dyn CloneAnySend + Send>

Source§

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

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for dyn CloneAnySend + Send

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl UncheckedAnyExt for dyn CloneAnySend + Send

Source§

unsafe fn downcast_ref_unchecked<T>(&self) -> &T

Source§

unsafe fn downcast_mut_unchecked<T>(&mut self) -> &mut T

Source§

unsafe fn downcast_unchecked<T>(self: Box<Self>) -> Box<T>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§