Trait anymap2::any::UncheckedAnyExt
source · pub trait UncheckedAnyExt: Any {
// Required methods
unsafe fn downcast_ref_unchecked<T: Any>(&self) -> &T;
unsafe fn downcast_mut_unchecked<T: Any>(&mut self) -> &mut T;
unsafe fn downcast_unchecked<T: Any>(self: Box<Self>) -> Box<T>;
}
Required Methods§
unsafe fn downcast_ref_unchecked<T: Any>(&self) -> &T
unsafe fn downcast_mut_unchecked<T: Any>(&mut self) -> &mut T
unsafe fn downcast_unchecked<T: Any>(self: Box<Self>) -> Box<T>
Object Safety§
This trait is not object safe.