anymap2::any

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

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>(&self) -> &T

Source§

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

Source§

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

Implementors§

Source§

impl<T: StdAny + Clone> CloneAny for T