Trait cast::From[][src]

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

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

Implementations on Foreign Types

Implementors