Trait as_any::UncheckedAnyExt[][src]

pub trait UncheckedAnyExt: AsAny {
    unsafe fn downcast_ref_unchecked<T: AsAny>(&self) -> &T;
unsafe fn downcast_mut_unchecked<T: AsAny>(&mut self) -> &mut T;
unsafe fn downcast_unchecked<T: AsAny>(self: Box<Self>) -> Box<T>; }
Expand description

This trait is an extension trait to AsAny, and adds methods for unchecked downcasts

Required methods

Implementors