pub trait Downcast<T>: Anywhere
    T: Any,
{ fn is_type(&self) -> bool { ... } unsafe fn downcast_ref_unchecked(&self) -> &T { ... } fn downcast_ref(&self) -> Result<&T, TypeMismatch> { ... } unsafe fn downcast_mut_unchecked(&mut self) -> &mut T { ... } fn downcast_mut(&mut self) -> Result<&mut T, TypeMismatch> { ... } unsafe fn downcast_unchecked(self: Box<Self, Global>) -> Box<T, Global> { ... } fn downcast(
        self: Box<Self, Global>
    ) -> Result<Box<T, Global>, DowncastError<Box<Self, Global>>> { ... } }

Provided Methods§

Implementors§