Trait ra_ap_stdx::anymap::CloneAny

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

Any, but with cloning.

Every type with no non-'static references that implements Clone implements CloneAny. See core::any for more details on Any in general.

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self.
source§

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

Downcast from &Any to &T, without checking the type matches. Read more
source§

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

Downcast from &mut Any to &mut T, without checking the type matches. Read more
source§

impl Downcast for dyn CloneAny + Send

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self.
source§

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

Downcast from &Any to &T, without checking the type matches. Read more
source§

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

Downcast from &mut Any to &mut T, without checking the type matches. Read more
source§

impl Downcast for dyn CloneAny + Send + Sync

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self.
source§

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

Downcast from &Any to &T, without checking the type matches. Read more
source§

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

Downcast from &mut Any to &mut T, without checking the type matches. Read more

Blanket Implementations§

source§

impl<T> IntoBox<dyn CloneAny> for T
where T: CloneAny,

source§

fn into_box(self) -> Box<dyn CloneAny>

Convert self into the appropriate boxed form.
source§

impl<T> IntoBox<dyn CloneAny + Send> for T
where T: CloneAny + Send,

source§

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

Convert self into the appropriate boxed form.
source§

impl<T> IntoBox<dyn CloneAny + Sync + Send> for T
where T: CloneAny + Send + Sync,

source§

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

Convert self into the appropriate boxed form.

Implementors§

source§

impl<T: Any + Clone> CloneAny for T