Trait malachite_base::num::conversion::traits::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