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§

source

unsafe fn downcast_ref_unchecked<T: Any>(&self) -> &T

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§