Trait parsell::Downcast [] [src]

pub trait Downcast<T: ?Sized> {
    fn downcast(self) -> T
    where
        Self: Sized
; }

A trait for subtyping where conversion downwards is possible (e.g. Cow<'a,str> can be converted to Cow<'static,str>).

Required Methods

Implementors