[−][src]Trait downcast::Downcast
Provided methods
fn is_type(&self) -> bool
ⓘImportant traits for &'a mut Wunsafe fn downcast_ref_unchecked(&self) -> &T
ⓘImportant traits for &'a mut W
fn downcast_ref(&self) -> Result<&T, TypeMismatch>
ⓘImportant traits for &'a mut Wunsafe fn downcast_mut_unchecked(&mut self) -> &mut T
ⓘImportant traits for &'a mut W
fn downcast_mut(&mut self) -> Result<&mut T, TypeMismatch>
ⓘImportant traits for Box<W>unsafe fn downcast_unchecked(self: Box<Self>) -> Box<T>
ⓘImportant traits for Box<W>
fn downcast(self: Box<Self>) -> Result<Box<T>, DowncastError<Box<Self>>>
Implementors
impl<_T: Any> Downcast<_T> for dyn Any + Send + Sync where
_T: Any,
[src]
_T: Any,
fn is_type(&self) -> bool
[src]
ⓘImportant traits for &'a mut Wunsafe fn downcast_ref_unchecked(&self) -> &T
[src]
ⓘImportant traits for &'a mut W
fn downcast_ref(&self) -> Result<&T, TypeMismatch>
[src]
ⓘImportant traits for &'a mut Wunsafe fn downcast_mut_unchecked(&mut self) -> &mut T
[src]
ⓘImportant traits for &'a mut W
fn downcast_mut(&mut self) -> Result<&mut T, TypeMismatch>
[src]
ⓘImportant traits for Box<W>unsafe fn downcast_unchecked(self: Box<Self>) -> Box<T>
[src]
ⓘImportant traits for Box<W>
fn downcast(self: Box<Self>) -> Result<Box<T>, DowncastError<Box<Self>>>
[src]
impl<_T: Any> Downcast<_T> for dyn Any + Send where
_T: Any,
[src]
_T: Any,
fn is_type(&self) -> bool
[src]
ⓘImportant traits for &'a mut Wunsafe fn downcast_ref_unchecked(&self) -> &T
[src]
ⓘImportant traits for &'a mut W
fn downcast_ref(&self) -> Result<&T, TypeMismatch>
[src]
ⓘImportant traits for &'a mut Wunsafe fn downcast_mut_unchecked(&mut self) -> &mut T
[src]
ⓘImportant traits for &'a mut W
fn downcast_mut(&mut self) -> Result<&mut T, TypeMismatch>
[src]
ⓘImportant traits for Box<W>unsafe fn downcast_unchecked(self: Box<Self>) -> Box<T>
[src]
ⓘImportant traits for Box<W>
fn downcast(self: Box<Self>) -> Result<Box<T>, DowncastError<Box<Self>>>
[src]
impl<_T: Any> Downcast<_T> for dyn Any + Sync where
_T: Any,
[src]
_T: Any,
fn is_type(&self) -> bool
[src]
ⓘImportant traits for &'a mut Wunsafe fn downcast_ref_unchecked(&self) -> &T
[src]
ⓘImportant traits for &'a mut W
fn downcast_ref(&self) -> Result<&T, TypeMismatch>
[src]
ⓘImportant traits for &'a mut Wunsafe fn downcast_mut_unchecked(&mut self) -> &mut T
[src]
ⓘImportant traits for &'a mut W
fn downcast_mut(&mut self) -> Result<&mut T, TypeMismatch>
[src]
ⓘImportant traits for Box<W>unsafe fn downcast_unchecked(self: Box<Self>) -> Box<T>
[src]
ⓘImportant traits for Box<W>
fn downcast(self: Box<Self>) -> Result<Box<T>, DowncastError<Box<Self>>>
[src]
impl<_T: Any> Downcast<_T> for dyn Any where
_T: Any,
[src]
_T: Any,
fn is_type(&self) -> bool
[src]
ⓘImportant traits for &'a mut Wunsafe fn downcast_ref_unchecked(&self) -> &T
[src]
ⓘImportant traits for &'a mut W
fn downcast_ref(&self) -> Result<&T, TypeMismatch>
[src]
ⓘImportant traits for &'a mut Wunsafe fn downcast_mut_unchecked(&mut self) -> &mut T
[src]
ⓘImportant traits for &'a mut W
fn downcast_mut(&mut self) -> Result<&mut T, TypeMismatch>
[src]
ⓘImportant traits for Box<W>unsafe fn downcast_unchecked(self: Box<Self>) -> Box<T>
[src]
ⓘImportant traits for Box<W>