Trait malachite_base::num::conversion::traits::RoundingInto
source · [−]pub trait RoundingInto<T>: Sized {
fn rounding_into(self, rm: RoundingMode) -> T;
}
Expand description
Converts a value from one type to another, where the conversion is made according to a
specified RoundingMode
.
It is recommended that this trait is not implemented directly; it is automatically implemented
when RoundingFrom
is implemented.