pub trait WrappingSub<Rhs = Self> {
type Output;
// Required method
fn wrapping_sub(self, rhs: Rhs) -> Self::Output;
}
Expand description
Subtraction operator which wraps around the type’s boundaries in case of overflow or underflow.
pub trait WrappingSub<Rhs = Self> {
type Output;
// Required method
fn wrapping_sub(self, rhs: Rhs) -> Self::Output;
}
Subtraction operator which wraps around the type’s boundaries in case of overflow or underflow.