Trait cast::From [] [src]

pub trait From<Src> {
    type Output;
    fn cast(_: Src) -> Self::Output;
}

The "cast from" operation

Associated Types

The result of the cast operation: either Self or Result<Self, Error>

Required Methods

Checked cast from Src to Self

Implementors