Struct downcast::DowncastError
[−]
[src]
pub struct DowncastError<O> { /* fields omitted */ }
Methods
impl<O> DowncastError<O>
[src]
fn new(mismatch: TypeMismatch, object: O) -> Self
[src]
fn type_mismatch(&self) -> TypeMismatch
[src]
fn into_object(self) -> O
[src]
Trait Implementations
impl<O> Debug for DowncastError<O>
[src]
impl<O> Display for DowncastError<O>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more