pub trait Upcast: Sized {
    type Higher;

    fn upcast(self) -> Self::Higher;
    fn downcast(inp: Self::Higher) -> Option<Self>;
}

Required Associated Types

Required Methods

Implementations on Foreign Types

Implementors