Trait std::convert::From

pub trait From<T> {
    /// Converts to this type from the input type.
    fn from(b: T) -> Self;
}
Expand description

Used to do value-to-value conversions.

Required Methods

Converts to this type from the input type.