Trait ExactInto

Source
pub trait ExactInto<T> {
    // Required method
    fn exact_into(self) -> T;
}
Expand description

Converts a value from one type to another. If the conversion fails, the function panics.

It is recommended that this trait is not implemented directly; it is automatically implemented when ExactFrom is implemented.

Required Methods§

Source

fn exact_into(self) -> T

Implementors§

Source§

impl<T, U: ExactFrom<T>> ExactInto<U> for T