pub trait SaturatingSub<RHS = Self> {
type Output;
// Required method
fn saturating_sub(self, other: RHS) -> Self::Output;
}
Expand description
Subtracts two numbers, saturating at the numeric bounds instead of overflowing.
This is a wrapper over the saturating_sub
functions in the standard library, for
example this one.
This is a wrapper over the saturating_sub
functions in the standard library, for
example this one.
This is a wrapper over the saturating_sub
functions in the standard library, for
example this one.
This is a wrapper over the saturating_sub
functions in the standard library, for
example this one.
This is a wrapper over the saturating_sub
functions in the standard library, for
example this one.
This is a wrapper over the saturating_sub
functions in the standard library, for
example this one.
This is a wrapper over the saturating_sub
functions in the standard library, for
example this one.
This is a wrapper over the saturating_sub
functions in the standard library, for
example this one.
This is a wrapper over the saturating_sub
functions in the standard library, for
example this one.
This is a wrapper over the saturating_sub
functions in the standard library, for
example this one.
This is a wrapper over the saturating_sub
functions in the standard library, for
example this one.
This is a wrapper over the saturating_sub
functions in the standard library, for
example this one.