[−][src]Trait as_any::Downcast
Provided methods
fn is<T>(&self) -> bool where
T: AsAny,
T: AsAny,
Returns true
if the boxed type is the same as T
.
Forward to the method defined on the type Any
.
fn downcast_ref<T>(&self) -> Option<&T> where
T: AsAny,
T: AsAny,
Forward to the method defined on the type Any
.
fn downcast_mut<T>(&mut self) -> Option<&mut T> where
T: AsAny,
T: AsAny,
Forward to the method defined on the type Any
.