Trait OverflowingNeg Copy item path Source pub trait OverflowingNeg {
type Output ;
// Required method
fn overflowing_neg (self) -> (Self::Output , bool );
}
Expand description Negates a number.
Returns a tuple of the sum along with a boolean indicating whether an arithmetic overflow
occurred. If an overflow occurred, then the wrapped number is returned.
This is a wrapper over the overflowing_neg
functions in the standard library, for
example this one .
This is a wrapper over the overflowing_neg
functions in the standard library, for
example this one .
This is a wrapper over the overflowing_neg
functions in the standard library, for
example this one .
This is a wrapper over the overflowing_neg
functions in the standard library, for
example this one .
This is a wrapper over the overflowing_neg
functions in the standard library, for
example this one .
This is a wrapper over the overflowing_neg
functions in the standard library, for
example this one .
This is a wrapper over the overflowing_neg
functions in the standard library, for
example this one .
This is a wrapper over the overflowing_neg
functions in the standard library, for
example this one .
This is a wrapper over the overflowing_neg
functions in the standard library, for
example this one .
This is a wrapper over the overflowing_neg
functions in the standard library, for
example this one .
This is a wrapper over the overflowing_neg
functions in the standard library, for
example this one .
This is a wrapper over the overflowing_neg
functions in the standard library, for
example this one .