pub trait OverflowingSubAssign<RHS = Self> {
// Required method
fn overflowing_sub_assign(&mut self, other: RHS) -> bool;
}
Expand description
Subtracts a number by another number in place.
Returns a boolean indicating whether an arithmetic overflow occurred. If an overflow occurred,
then the wrapped number is assigned.
Subtracts a number by another number, in place.
Returns a boolean indicating whether an arithmetic overflow occurred. If an overflow
occurred, then the wrapped value is assigned.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Subtracts a number by another number, in place.
Returns a boolean indicating whether an arithmetic overflow occurred. If an overflow
occurred, then the wrapped value is assigned.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Subtracts a number by another number, in place.
Returns a boolean indicating whether an arithmetic overflow occurred. If an overflow
occurred, then the wrapped value is assigned.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Subtracts a number by another number, in place.
Returns a boolean indicating whether an arithmetic overflow occurred. If an overflow
occurred, then the wrapped value is assigned.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Subtracts a number by another number, in place.
Returns a boolean indicating whether an arithmetic overflow occurred. If an overflow
occurred, then the wrapped value is assigned.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Subtracts a number by another number, in place.
Returns a boolean indicating whether an arithmetic overflow occurred. If an overflow
occurred, then the wrapped value is assigned.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Subtracts a number by another number, in place.
Returns a boolean indicating whether an arithmetic overflow occurred. If an overflow
occurred, then the wrapped value is assigned.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Subtracts a number by another number, in place.
Returns a boolean indicating whether an arithmetic overflow occurred. If an overflow
occurred, then the wrapped value is assigned.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Subtracts a number by another number, in place.
Returns a boolean indicating whether an arithmetic overflow occurred. If an overflow
occurred, then the wrapped value is assigned.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Subtracts a number by another number, in place.
Returns a boolean indicating whether an arithmetic overflow occurred. If an overflow
occurred, then the wrapped value is assigned.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Subtracts a number by another number, in place.
Returns a boolean indicating whether an arithmetic overflow occurred. If an overflow
occurred, then the wrapped value is assigned.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Subtracts a number by another number, in place.
Returns a boolean indicating whether an arithmetic overflow occurred. If an overflow
occurred, then the wrapped value is assigned.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.