Trait qdowncast::QDowncastable [] [src]

pub trait QDowncastable<T: Any>: Any {
    fn is_type(&self) -> bool;
    fn downcast_ref(&self) -> Option<&T>;
    fn downcast_mut(&mut self) -> Option<&mut T>;
    fn downcast_boxed(self: Box<Self>) -> Result<Box<T>, Box<Self>>;
}

Required Methods

Implementors