Trait anymap::any::CloneAny

source ·
pub trait CloneAny: Any + CloneToAny { }
Expand description

See also Any for a version without the Clone requirement.

Trait Implementations§

source§

impl Clone for Box<dyn CloneAny>

source§

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

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 for Box<dyn CloneAny + Send>

source§

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

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 for Box<dyn CloneAny + Send + Sync>

source§

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

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 for Box<dyn CloneAny + Sync>

source§

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

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 Debug for dyn CloneAny

source§

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

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

impl Debug for dyn CloneAny + Send

source§

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

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

impl Debug for dyn CloneAny + Send + Sync

source§

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

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

impl Debug for dyn CloneAny + Sync

source§

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

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

impl UncheckedAnyExt for dyn CloneAny

source§

unsafe fn downcast_ref_unchecked<T: 'static>(&self) -> &T

source§

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

source§

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

source§

impl UncheckedAnyExt for dyn CloneAny + Send

source§

unsafe fn downcast_ref_unchecked<T: 'static>(&self) -> &T

source§

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

source§

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

source§

impl UncheckedAnyExt for dyn CloneAny + Send + Sync

source§

unsafe fn downcast_ref_unchecked<T: 'static>(&self) -> &T

source§

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

source§

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

source§

impl UncheckedAnyExt for dyn CloneAny + Sync

source§

unsafe fn downcast_ref_unchecked<T: 'static>(&self) -> &T

source§

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

source§

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

Implementors§

source§

impl<T: StdAny + Clone> CloneAny for T