Trait anymap2::any::Any

source ·
pub trait Any: StdAny { }
Expand description

See also CloneAny for a cloneable version of this trait.

Trait Implementations§

source§

impl Debug for dyn Any

source§

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

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

impl Debug for dyn Any + Send

source§

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

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

impl Debug for dyn Any + Send + Sync

source§

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

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

impl Debug for dyn Any + Sync

source§

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

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

impl UncheckedAnyExt for dyn Any

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>

source§

impl UncheckedAnyExt for dyn Any + 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>

source§

impl UncheckedAnyExt for dyn Any + Send + Sync

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>

source§

impl UncheckedAnyExt for dyn Any + Sync

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> Any for T