pub trait OverflowingInto<T>: Sized {
    fn overflowing_into(self) -> (T, bool);
}
Expand description

Converts a value from one type to another, where if the conversion is not exact the result will wrap around. The result is returned along with a bool that indicates whether wrapping has occurred.

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

Required Methods

Implementors