Struct Saturating
struct Saturating<T>(2080)
Provides intentionally-saturating arithmetic on T.
Operations like + on u32 values are intended to never overflow,
and in some debug configurations overflow is detected and results
in a panic. While most arithmetic falls into this category, some
code explicitly expects and relies upon saturating arithmetic.
Saturating arithmetic can be achieved either through methods like
saturating_add, or through the Saturating<T> type, which says that
all standard arithmetic operations on the underlying value are
intended to have saturating semantics.
The underlying value can be retrieved through the .0 index of the
Saturating tuple.
Examples
use Saturating;
let max = Saturating;
let one = Saturating;
assert_eq!;
Implementations
impl Saturating<i128>
const fn leading_zeros(self: Self) -> u32Returns the number of leading zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn abs(self: Self) -> Saturating<i128>Saturating absolute value. Computes
self.abs(), returningMAXifself == MINinstead of overflowing.Examples
use Saturating; assert_eq!; assert_eq!; assert_eq!; assert_eq!; assert_eq!;const fn signum(self: Self) -> Saturating<i128>Returns a number representing sign of
self.0if the number is zero1if the number is positive-1if the number is negative
Examples
use Saturating; assert_eq!; assert_eq!; assert_eq!;const fn is_positive(self: Self) -> boolReturns
trueifselfis positive andfalseif the number is zero or negative.Examples
use Saturating; assert!; assert!;const fn is_negative(self: Self) -> boolReturns
trueifselfis negative andfalseif the number is zero or positive.Examples
use Saturating; assert!; assert!;
impl Saturating<i128>
const fn count_ones(self: Self) -> u32Returns the number of ones in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn count_zeros(self: Self) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(self: Self) -> u32Returns the number of trailing zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn rotate_left(self: Self, n: u32) -> SelfShifts the bits to the left by a specified amount,
n, saturating the truncated bits to the end of the resulting integer.Please note this isn't the same operation as the
<<shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn rotate_right(self: Self, n: u32) -> SelfShifts the bits to the right by a specified amount,
n, saturating the truncated bits to the beginning of the resulting integer.Please note this isn't the same operation as the
>>shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn swap_bytes(self: Self) -> SelfReverses the byte order of the integer.
Examples
use Saturating; let n: = Saturating; assert_eq!; let m = n.swap_bytes; assert_eq!; assert_eq!;const fn reverse_bits(self: Self) -> SelfReverses the bit pattern of the integer.
Examples
Please note that this example is shared among integer types, which is why
i16is used.use Saturating; let n = Saturating; assert_eq!; let m = n.reverse_bits; assert_eq!; assert_eq!;const fn from_be(x: Self) -> SelfConverts an integer from big endian to the target's endianness.
On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn from_le(x: Self) -> SelfConverts an integer from little endian to the target's endianness.
On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_be(self: Self) -> SelfConverts
selfto big endian from the target's endianness.On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_le(self: Self) -> SelfConverts
selfto little endian from the target's endianness.On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn pow(self: Self, exp: u32) -> SelfRaises self to the power of
exp, using exponentiation by squaring.Examples
use Saturating; assert_eq!;Results that are too large are saturated:
use Saturating; assert_eq!; assert_eq!;
impl Saturating<i16>
const fn leading_zeros(self: Self) -> u32Returns the number of leading zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn abs(self: Self) -> Saturating<i16>Saturating absolute value. Computes
self.abs(), returningMAXifself == MINinstead of overflowing.Examples
use Saturating; assert_eq!; assert_eq!; assert_eq!; assert_eq!; assert_eq!;const fn signum(self: Self) -> Saturating<i16>Returns a number representing sign of
self.0if the number is zero1if the number is positive-1if the number is negative
Examples
use Saturating; assert_eq!; assert_eq!; assert_eq!;const fn is_positive(self: Self) -> boolReturns
trueifselfis positive andfalseif the number is zero or negative.Examples
use Saturating; assert!; assert!;const fn is_negative(self: Self) -> boolReturns
trueifselfis negative andfalseif the number is zero or positive.Examples
use Saturating; assert!; assert!;
impl Saturating<i16>
const fn count_ones(self: Self) -> u32Returns the number of ones in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn count_zeros(self: Self) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(self: Self) -> u32Returns the number of trailing zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn rotate_left(self: Self, n: u32) -> SelfShifts the bits to the left by a specified amount,
n, saturating the truncated bits to the end of the resulting integer.Please note this isn't the same operation as the
<<shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn rotate_right(self: Self, n: u32) -> SelfShifts the bits to the right by a specified amount,
n, saturating the truncated bits to the beginning of the resulting integer.Please note this isn't the same operation as the
>>shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn swap_bytes(self: Self) -> SelfReverses the byte order of the integer.
Examples
use Saturating; let n: = Saturating; assert_eq!; let m = n.swap_bytes; assert_eq!; assert_eq!;const fn reverse_bits(self: Self) -> SelfReverses the bit pattern of the integer.
Examples
Please note that this example is shared among integer types, which is why
i16is used.use Saturating; let n = Saturating; assert_eq!; let m = n.reverse_bits; assert_eq!; assert_eq!;const fn from_be(x: Self) -> SelfConverts an integer from big endian to the target's endianness.
On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn from_le(x: Self) -> SelfConverts an integer from little endian to the target's endianness.
On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_be(self: Self) -> SelfConverts
selfto big endian from the target's endianness.On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_le(self: Self) -> SelfConverts
selfto little endian from the target's endianness.On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn pow(self: Self, exp: u32) -> SelfRaises self to the power of
exp, using exponentiation by squaring.Examples
use Saturating; assert_eq!;Results that are too large are saturated:
use Saturating; assert_eq!; assert_eq!;
impl Saturating<i32>
const fn count_ones(self: Self) -> u32Returns the number of ones in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn count_zeros(self: Self) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(self: Self) -> u32Returns the number of trailing zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn rotate_left(self: Self, n: u32) -> SelfShifts the bits to the left by a specified amount,
n, saturating the truncated bits to the end of the resulting integer.Please note this isn't the same operation as the
<<shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn rotate_right(self: Self, n: u32) -> SelfShifts the bits to the right by a specified amount,
n, saturating the truncated bits to the beginning of the resulting integer.Please note this isn't the same operation as the
>>shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn swap_bytes(self: Self) -> SelfReverses the byte order of the integer.
Examples
use Saturating; let n: = Saturating; assert_eq!; let m = n.swap_bytes; assert_eq!; assert_eq!;const fn reverse_bits(self: Self) -> SelfReverses the bit pattern of the integer.
Examples
Please note that this example is shared among integer types, which is why
i16is used.use Saturating; let n = Saturating; assert_eq!; let m = n.reverse_bits; assert_eq!; assert_eq!;const fn from_be(x: Self) -> SelfConverts an integer from big endian to the target's endianness.
On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn from_le(x: Self) -> SelfConverts an integer from little endian to the target's endianness.
On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_be(self: Self) -> SelfConverts
selfto big endian from the target's endianness.On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_le(self: Self) -> SelfConverts
selfto little endian from the target's endianness.On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn pow(self: Self, exp: u32) -> SelfRaises self to the power of
exp, using exponentiation by squaring.Examples
use Saturating; assert_eq!;Results that are too large are saturated:
use Saturating; assert_eq!; assert_eq!;
impl Saturating<i32>
const fn leading_zeros(self: Self) -> u32Returns the number of leading zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn abs(self: Self) -> Saturating<i32>Saturating absolute value. Computes
self.abs(), returningMAXifself == MINinstead of overflowing.Examples
use Saturating; assert_eq!; assert_eq!; assert_eq!; assert_eq!; assert_eq!;const fn signum(self: Self) -> Saturating<i32>Returns a number representing sign of
self.0if the number is zero1if the number is positive-1if the number is negative
Examples
use Saturating; assert_eq!; assert_eq!; assert_eq!;const fn is_positive(self: Self) -> boolReturns
trueifselfis positive andfalseif the number is zero or negative.Examples
use Saturating; assert!; assert!;const fn is_negative(self: Self) -> boolReturns
trueifselfis negative andfalseif the number is zero or positive.Examples
use Saturating; assert!; assert!;
impl Saturating<i64>
const fn leading_zeros(self: Self) -> u32Returns the number of leading zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn abs(self: Self) -> Saturating<i64>Saturating absolute value. Computes
self.abs(), returningMAXifself == MINinstead of overflowing.Examples
use Saturating; assert_eq!; assert_eq!; assert_eq!; assert_eq!; assert_eq!;const fn signum(self: Self) -> Saturating<i64>Returns a number representing sign of
self.0if the number is zero1if the number is positive-1if the number is negative
Examples
use Saturating; assert_eq!; assert_eq!; assert_eq!;const fn is_positive(self: Self) -> boolReturns
trueifselfis positive andfalseif the number is zero or negative.Examples
use Saturating; assert!; assert!;const fn is_negative(self: Self) -> boolReturns
trueifselfis negative andfalseif the number is zero or positive.Examples
use Saturating; assert!; assert!;
impl Saturating<i64>
const fn count_ones(self: Self) -> u32Returns the number of ones in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn count_zeros(self: Self) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(self: Self) -> u32Returns the number of trailing zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn rotate_left(self: Self, n: u32) -> SelfShifts the bits to the left by a specified amount,
n, saturating the truncated bits to the end of the resulting integer.Please note this isn't the same operation as the
<<shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn rotate_right(self: Self, n: u32) -> SelfShifts the bits to the right by a specified amount,
n, saturating the truncated bits to the beginning of the resulting integer.Please note this isn't the same operation as the
>>shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn swap_bytes(self: Self) -> SelfReverses the byte order of the integer.
Examples
use Saturating; let n: = Saturating; assert_eq!; let m = n.swap_bytes; assert_eq!; assert_eq!;const fn reverse_bits(self: Self) -> SelfReverses the bit pattern of the integer.
Examples
Please note that this example is shared among integer types, which is why
i16is used.use Saturating; let n = Saturating; assert_eq!; let m = n.reverse_bits; assert_eq!; assert_eq!;const fn from_be(x: Self) -> SelfConverts an integer from big endian to the target's endianness.
On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn from_le(x: Self) -> SelfConverts an integer from little endian to the target's endianness.
On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_be(self: Self) -> SelfConverts
selfto big endian from the target's endianness.On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_le(self: Self) -> SelfConverts
selfto little endian from the target's endianness.On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn pow(self: Self, exp: u32) -> SelfRaises self to the power of
exp, using exponentiation by squaring.Examples
use Saturating; assert_eq!;Results that are too large are saturated:
use Saturating; assert_eq!; assert_eq!;
impl Saturating<i8>
const fn leading_zeros(self: Self) -> u32Returns the number of leading zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn abs(self: Self) -> Saturating<i8>Saturating absolute value. Computes
self.abs(), returningMAXifself == MINinstead of overflowing.Examples
use Saturating; assert_eq!; assert_eq!; assert_eq!; assert_eq!; assert_eq!;const fn signum(self: Self) -> Saturating<i8>Returns a number representing sign of
self.0if the number is zero1if the number is positive-1if the number is negative
Examples
use Saturating; assert_eq!; assert_eq!; assert_eq!;const fn is_positive(self: Self) -> boolReturns
trueifselfis positive andfalseif the number is zero or negative.Examples
use Saturating; assert!; assert!;const fn is_negative(self: Self) -> boolReturns
trueifselfis negative andfalseif the number is zero or positive.Examples
use Saturating; assert!; assert!;
impl Saturating<i8>
const fn count_ones(self: Self) -> u32Returns the number of ones in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn count_zeros(self: Self) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(self: Self) -> u32Returns the number of trailing zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn rotate_left(self: Self, n: u32) -> SelfShifts the bits to the left by a specified amount,
n, saturating the truncated bits to the end of the resulting integer.Please note this isn't the same operation as the
<<shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn rotate_right(self: Self, n: u32) -> SelfShifts the bits to the right by a specified amount,
n, saturating the truncated bits to the beginning of the resulting integer.Please note this isn't the same operation as the
>>shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn swap_bytes(self: Self) -> SelfReverses the byte order of the integer.
Examples
use Saturating; let n: = Saturating; assert_eq!; let m = n.swap_bytes; assert_eq!; assert_eq!;const fn reverse_bits(self: Self) -> SelfReverses the bit pattern of the integer.
Examples
Please note that this example is shared among integer types, which is why
i16is used.use Saturating; let n = Saturating; assert_eq!; let m = n.reverse_bits; assert_eq!; assert_eq!;const fn from_be(x: Self) -> SelfConverts an integer from big endian to the target's endianness.
On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn from_le(x: Self) -> SelfConverts an integer from little endian to the target's endianness.
On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_be(self: Self) -> SelfConverts
selfto big endian from the target's endianness.On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_le(self: Self) -> SelfConverts
selfto little endian from the target's endianness.On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn pow(self: Self, exp: u32) -> SelfRaises self to the power of
exp, using exponentiation by squaring.Examples
use Saturating; assert_eq!;Results that are too large are saturated:
use Saturating; assert_eq!; assert_eq!;
impl Saturating<isize>
const fn leading_zeros(self: Self) -> u32Returns the number of leading zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn abs(self: Self) -> Saturating<isize>Saturating absolute value. Computes
self.abs(), returningMAXifself == MINinstead of overflowing.Examples
use Saturating; assert_eq!; assert_eq!; assert_eq!; assert_eq!; assert_eq!;const fn signum(self: Self) -> Saturating<isize>Returns a number representing sign of
self.0if the number is zero1if the number is positive-1if the number is negative
Examples
use Saturating; assert_eq!; assert_eq!; assert_eq!;const fn is_positive(self: Self) -> boolReturns
trueifselfis positive andfalseif the number is zero or negative.Examples
use Saturating; assert!; assert!;const fn is_negative(self: Self) -> boolReturns
trueifselfis negative andfalseif the number is zero or positive.Examples
use Saturating; assert!; assert!;
impl Saturating<isize>
const fn count_ones(self: Self) -> u32Returns the number of ones in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn count_zeros(self: Self) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(self: Self) -> u32Returns the number of trailing zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn rotate_left(self: Self, n: u32) -> SelfShifts the bits to the left by a specified amount,
n, saturating the truncated bits to the end of the resulting integer.Please note this isn't the same operation as the
<<shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn rotate_right(self: Self, n: u32) -> SelfShifts the bits to the right by a specified amount,
n, saturating the truncated bits to the beginning of the resulting integer.Please note this isn't the same operation as the
>>shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn swap_bytes(self: Self) -> SelfReverses the byte order of the integer.
Examples
use Saturating; let n: = Saturating; assert_eq!; let m = n.swap_bytes; assert_eq!; assert_eq!;const fn reverse_bits(self: Self) -> SelfReverses the bit pattern of the integer.
Examples
Please note that this example is shared among integer types, which is why
i16is used.use Saturating; let n = Saturating; assert_eq!; let m = n.reverse_bits; assert_eq!; assert_eq!;const fn from_be(x: Self) -> SelfConverts an integer from big endian to the target's endianness.
On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn from_le(x: Self) -> SelfConverts an integer from little endian to the target's endianness.
On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_be(self: Self) -> SelfConverts
selfto big endian from the target's endianness.On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_le(self: Self) -> SelfConverts
selfto little endian from the target's endianness.On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn pow(self: Self, exp: u32) -> SelfRaises self to the power of
exp, using exponentiation by squaring.Examples
use Saturating; assert_eq!;Results that are too large are saturated:
use Saturating; assert_eq!; assert_eq!;
impl Saturating<u128>
const fn count_ones(self: Self) -> u32Returns the number of ones in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn count_zeros(self: Self) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(self: Self) -> u32Returns the number of trailing zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn rotate_left(self: Self, n: u32) -> SelfShifts the bits to the left by a specified amount,
n, saturating the truncated bits to the end of the resulting integer.Please note this isn't the same operation as the
<<shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn rotate_right(self: Self, n: u32) -> SelfShifts the bits to the right by a specified amount,
n, saturating the truncated bits to the beginning of the resulting integer.Please note this isn't the same operation as the
>>shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn swap_bytes(self: Self) -> SelfReverses the byte order of the integer.
Examples
use Saturating; let n: = Saturating; assert_eq!; let m = n.swap_bytes; assert_eq!; assert_eq!;const fn reverse_bits(self: Self) -> SelfReverses the bit pattern of the integer.
Examples
Please note that this example is shared among integer types, which is why
i16is used.use Saturating; let n = Saturating; assert_eq!; let m = n.reverse_bits; assert_eq!; assert_eq!;const fn from_be(x: Self) -> SelfConverts an integer from big endian to the target's endianness.
On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn from_le(x: Self) -> SelfConverts an integer from little endian to the target's endianness.
On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_be(self: Self) -> SelfConverts
selfto big endian from the target's endianness.On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_le(self: Self) -> SelfConverts
selfto little endian from the target's endianness.On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn pow(self: Self, exp: u32) -> SelfRaises self to the power of
exp, using exponentiation by squaring.Examples
use Saturating; assert_eq!;Results that are too large are saturated:
use Saturating; assert_eq!; assert_eq!;
impl Saturating<u128>
const fn leading_zeros(self: Self) -> u32Returns the number of leading zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn is_power_of_two(self: Self) -> boolReturns
trueif and only ifself == 2^kfor somek.Examples
use Saturating; assert!; assert!;
impl Saturating<u16>
const fn leading_zeros(self: Self) -> u32Returns the number of leading zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn is_power_of_two(self: Self) -> boolReturns
trueif and only ifself == 2^kfor somek.Examples
use Saturating; assert!; assert!;
impl Saturating<u16>
const fn count_ones(self: Self) -> u32Returns the number of ones in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn count_zeros(self: Self) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(self: Self) -> u32Returns the number of trailing zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn rotate_left(self: Self, n: u32) -> SelfShifts the bits to the left by a specified amount,
n, saturating the truncated bits to the end of the resulting integer.Please note this isn't the same operation as the
<<shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn rotate_right(self: Self, n: u32) -> SelfShifts the bits to the right by a specified amount,
n, saturating the truncated bits to the beginning of the resulting integer.Please note this isn't the same operation as the
>>shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn swap_bytes(self: Self) -> SelfReverses the byte order of the integer.
Examples
use Saturating; let n: = Saturating; assert_eq!; let m = n.swap_bytes; assert_eq!; assert_eq!;const fn reverse_bits(self: Self) -> SelfReverses the bit pattern of the integer.
Examples
Please note that this example is shared among integer types, which is why
i16is used.use Saturating; let n = Saturating; assert_eq!; let m = n.reverse_bits; assert_eq!; assert_eq!;const fn from_be(x: Self) -> SelfConverts an integer from big endian to the target's endianness.
On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn from_le(x: Self) -> SelfConverts an integer from little endian to the target's endianness.
On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_be(self: Self) -> SelfConverts
selfto big endian from the target's endianness.On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_le(self: Self) -> SelfConverts
selfto little endian from the target's endianness.On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn pow(self: Self, exp: u32) -> SelfRaises self to the power of
exp, using exponentiation by squaring.Examples
use Saturating; assert_eq!;Results that are too large are saturated:
use Saturating; assert_eq!; assert_eq!;
impl Saturating<u32>
const fn count_ones(self: Self) -> u32Returns the number of ones in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn count_zeros(self: Self) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(self: Self) -> u32Returns the number of trailing zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn rotate_left(self: Self, n: u32) -> SelfShifts the bits to the left by a specified amount,
n, saturating the truncated bits to the end of the resulting integer.Please note this isn't the same operation as the
<<shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn rotate_right(self: Self, n: u32) -> SelfShifts the bits to the right by a specified amount,
n, saturating the truncated bits to the beginning of the resulting integer.Please note this isn't the same operation as the
>>shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn swap_bytes(self: Self) -> SelfReverses the byte order of the integer.
Examples
use Saturating; let n: = Saturating; assert_eq!; let m = n.swap_bytes; assert_eq!; assert_eq!;const fn reverse_bits(self: Self) -> SelfReverses the bit pattern of the integer.
Examples
Please note that this example is shared among integer types, which is why
i16is used.use Saturating; let n = Saturating; assert_eq!; let m = n.reverse_bits; assert_eq!; assert_eq!;const fn from_be(x: Self) -> SelfConverts an integer from big endian to the target's endianness.
On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn from_le(x: Self) -> SelfConverts an integer from little endian to the target's endianness.
On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_be(self: Self) -> SelfConverts
selfto big endian from the target's endianness.On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_le(self: Self) -> SelfConverts
selfto little endian from the target's endianness.On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn pow(self: Self, exp: u32) -> SelfRaises self to the power of
exp, using exponentiation by squaring.Examples
use Saturating; assert_eq!;Results that are too large are saturated:
use Saturating; assert_eq!; assert_eq!;
impl Saturating<u32>
const fn leading_zeros(self: Self) -> u32Returns the number of leading zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn is_power_of_two(self: Self) -> boolReturns
trueif and only ifself == 2^kfor somek.Examples
use Saturating; assert!; assert!;
impl Saturating<u64>
const fn count_ones(self: Self) -> u32Returns the number of ones in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn count_zeros(self: Self) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(self: Self) -> u32Returns the number of trailing zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn rotate_left(self: Self, n: u32) -> SelfShifts the bits to the left by a specified amount,
n, saturating the truncated bits to the end of the resulting integer.Please note this isn't the same operation as the
<<shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn rotate_right(self: Self, n: u32) -> SelfShifts the bits to the right by a specified amount,
n, saturating the truncated bits to the beginning of the resulting integer.Please note this isn't the same operation as the
>>shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn swap_bytes(self: Self) -> SelfReverses the byte order of the integer.
Examples
use Saturating; let n: = Saturating; assert_eq!; let m = n.swap_bytes; assert_eq!; assert_eq!;const fn reverse_bits(self: Self) -> SelfReverses the bit pattern of the integer.
Examples
Please note that this example is shared among integer types, which is why
i16is used.use Saturating; let n = Saturating; assert_eq!; let m = n.reverse_bits; assert_eq!; assert_eq!;const fn from_be(x: Self) -> SelfConverts an integer from big endian to the target's endianness.
On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn from_le(x: Self) -> SelfConverts an integer from little endian to the target's endianness.
On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_be(self: Self) -> SelfConverts
selfto big endian from the target's endianness.On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_le(self: Self) -> SelfConverts
selfto little endian from the target's endianness.On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn pow(self: Self, exp: u32) -> SelfRaises self to the power of
exp, using exponentiation by squaring.Examples
use Saturating; assert_eq!;Results that are too large are saturated:
use Saturating; assert_eq!; assert_eq!;
impl Saturating<u64>
const fn leading_zeros(self: Self) -> u32Returns the number of leading zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn is_power_of_two(self: Self) -> boolReturns
trueif and only ifself == 2^kfor somek.Examples
use Saturating; assert!; assert!;
impl Saturating<u8>
const fn count_ones(self: Self) -> u32Returns the number of ones in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn count_zeros(self: Self) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(self: Self) -> u32Returns the number of trailing zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn rotate_left(self: Self, n: u32) -> SelfShifts the bits to the left by a specified amount,
n, saturating the truncated bits to the end of the resulting integer.Please note this isn't the same operation as the
<<shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn rotate_right(self: Self, n: u32) -> SelfShifts the bits to the right by a specified amount,
n, saturating the truncated bits to the beginning of the resulting integer.Please note this isn't the same operation as the
>>shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn swap_bytes(self: Self) -> SelfReverses the byte order of the integer.
Examples
use Saturating; let n: = Saturating; assert_eq!; let m = n.swap_bytes; assert_eq!; assert_eq!;const fn reverse_bits(self: Self) -> SelfReverses the bit pattern of the integer.
Examples
Please note that this example is shared among integer types, which is why
i16is used.use Saturating; let n = Saturating; assert_eq!; let m = n.reverse_bits; assert_eq!; assert_eq!;const fn from_be(x: Self) -> SelfConverts an integer from big endian to the target's endianness.
On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn from_le(x: Self) -> SelfConverts an integer from little endian to the target's endianness.
On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_be(self: Self) -> SelfConverts
selfto big endian from the target's endianness.On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_le(self: Self) -> SelfConverts
selfto little endian from the target's endianness.On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn pow(self: Self, exp: u32) -> SelfRaises self to the power of
exp, using exponentiation by squaring.Examples
use Saturating; assert_eq!;Results that are too large are saturated:
use Saturating; assert_eq!; assert_eq!;
impl Saturating<u8>
const fn leading_zeros(self: Self) -> u32Returns the number of leading zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn is_power_of_two(self: Self) -> boolReturns
trueif and only ifself == 2^kfor somek.Examples
use Saturating; assert!; assert!;
impl Saturating<usize>
const fn count_ones(self: Self) -> u32Returns the number of ones in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn count_zeros(self: Self) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(self: Self) -> u32Returns the number of trailing zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn rotate_left(self: Self, n: u32) -> SelfShifts the bits to the left by a specified amount,
n, saturating the truncated bits to the end of the resulting integer.Please note this isn't the same operation as the
<<shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn rotate_right(self: Self, n: u32) -> SelfShifts the bits to the right by a specified amount,
n, saturating the truncated bits to the beginning of the resulting integer.Please note this isn't the same operation as the
>>shifting operator!Examples
use Saturating; let n: = Saturating; let m: = Saturating; assert_eq!;const fn swap_bytes(self: Self) -> SelfReverses the byte order of the integer.
Examples
use Saturating; let n: = Saturating; assert_eq!; let m = n.swap_bytes; assert_eq!; assert_eq!;const fn reverse_bits(self: Self) -> SelfReverses the bit pattern of the integer.
Examples
Please note that this example is shared among integer types, which is why
i16is used.use Saturating; let n = Saturating; assert_eq!; let m = n.reverse_bits; assert_eq!; assert_eq!;const fn from_be(x: Self) -> SelfConverts an integer from big endian to the target's endianness.
On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn from_le(x: Self) -> SelfConverts an integer from little endian to the target's endianness.
On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_be(self: Self) -> SelfConverts
selfto big endian from the target's endianness.On big endian this is a no-op. On little endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn to_le(self: Self) -> SelfConverts
selfto little endian from the target's endianness.On little endian this is a no-op. On big endian the bytes are swapped.
Examples
use Saturating; let n = Saturating; if cfg! elseconst fn pow(self: Self, exp: u32) -> SelfRaises self to the power of
exp, using exponentiation by squaring.Examples
use Saturating; assert_eq!;Results that are too large are saturated:
use Saturating; assert_eq!; assert_eq!;
impl Saturating<usize>
const fn leading_zeros(self: Self) -> u32Returns the number of leading zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn is_power_of_two(self: Self) -> boolReturns
trueif and only ifself == 2^kfor somek.Examples
use Saturating; assert!; assert!;
impl Add for Saturating<i128>
fn add(self: Self, other: Saturating<i128>) -> Saturating<i128>
impl Add for Saturating<i128>
fn add(self: Self, other: &Saturating<i128>) -> <Saturating<i128> as Add<Saturating<i128>>>::Output
impl Add for Saturating<i16>
fn add(self: Self, other: Saturating<i16>) -> Saturating<i16>
impl Add for Saturating<i16>
fn add(self: Self, other: &Saturating<i16>) -> <Saturating<i16> as Add<Saturating<i16>>>::Output
impl Add for Saturating<i32>
fn add(self: Self, other: &Saturating<i32>) -> <Saturating<i32> as Add<Saturating<i32>>>::Output
impl Add for Saturating<i32>
fn add(self: Self, other: Saturating<i32>) -> Saturating<i32>
impl Add for Saturating<i64>
fn add(self: Self, other: Saturating<i64>) -> Saturating<i64>
impl Add for Saturating<i64>
fn add(self: Self, other: &Saturating<i64>) -> <Saturating<i64> as Add<Saturating<i64>>>::Output
impl Add for Saturating<i8>
fn add(self: Self, other: &Saturating<i8>) -> <Saturating<i8> as Add<Saturating<i8>>>::Output
impl Add for Saturating<i8>
fn add(self: Self, other: Saturating<i8>) -> Saturating<i8>
impl Add for Saturating<isize>
fn add(self: Self, other: Saturating<isize>) -> Saturating<isize>
impl Add for Saturating<isize>
fn add(self: Self, other: &Saturating<isize>) -> <Saturating<isize> as Add<Saturating<isize>>>::Output
impl Add for Saturating<u128>
fn add(self: Self, other: &Saturating<u128>) -> <Saturating<u128> as Add<Saturating<u128>>>::Output
impl Add for Saturating<u128>
fn add(self: Self, other: Saturating<u128>) -> Saturating<u128>
impl Add for Saturating<u16>
fn add(self: Self, other: Saturating<u16>) -> Saturating<u16>
impl Add for Saturating<u16>
fn add(self: Self, other: &Saturating<u16>) -> <Saturating<u16> as Add<Saturating<u16>>>::Output
impl Add for Saturating<u32>
fn add(self: Self, other: &Saturating<u32>) -> <Saturating<u32> as Add<Saturating<u32>>>::Output
impl Add for Saturating<u32>
fn add(self: Self, other: Saturating<u32>) -> Saturating<u32>
impl Add for Saturating<u64>
fn add(self: Self, other: Saturating<u64>) -> Saturating<u64>
impl Add for Saturating<u64>
fn add(self: Self, other: &Saturating<u64>) -> <Saturating<u64> as Add<Saturating<u64>>>::Output
impl Add for Saturating<u8>
fn add(self: Self, other: &Saturating<u8>) -> <Saturating<u8> as Add<Saturating<u8>>>::Output
impl Add for Saturating<u8>
fn add(self: Self, other: Saturating<u8>) -> Saturating<u8>
impl Add for Saturating<usize>
fn add(self: Self, other: Saturating<usize>) -> Saturating<usize>
impl Add for Saturating<usize>
fn add(self: Self, other: &Saturating<usize>) -> <Saturating<usize> as Add<Saturating<usize>>>::Output
impl AddAssign for Saturating<i128>
fn add_assign(self: &mut Self, other: &Saturating<i128>)
impl AddAssign for Saturating<i128>
fn add_assign(self: &mut Self, other: i128)
impl AddAssign for Saturating<i128>
fn add_assign(self: &mut Self, other: &i128)
impl AddAssign for Saturating<i128>
fn add_assign(self: &mut Self, other: Saturating<i128>)
impl AddAssign for Saturating<i16>
fn add_assign(self: &mut Self, other: Saturating<i16>)
impl AddAssign for Saturating<i16>
fn add_assign(self: &mut Self, other: &Saturating<i16>)
impl AddAssign for Saturating<i16>
fn add_assign(self: &mut Self, other: i16)
impl AddAssign for Saturating<i16>
fn add_assign(self: &mut Self, other: &i16)
impl AddAssign for Saturating<i32>
fn add_assign(self: &mut Self, other: i32)
impl AddAssign for Saturating<i32>
fn add_assign(self: &mut Self, other: &i32)
impl AddAssign for Saturating<i32>
fn add_assign(self: &mut Self, other: Saturating<i32>)
impl AddAssign for Saturating<i32>
fn add_assign(self: &mut Self, other: &Saturating<i32>)
impl AddAssign for Saturating<i64>
fn add_assign(self: &mut Self, other: Saturating<i64>)
impl AddAssign for Saturating<i64>
fn add_assign(self: &mut Self, other: &Saturating<i64>)
impl AddAssign for Saturating<i64>
fn add_assign(self: &mut Self, other: i64)
impl AddAssign for Saturating<i64>
fn add_assign(self: &mut Self, other: &i64)
impl AddAssign for Saturating<i8>
fn add_assign(self: &mut Self, other: &i8)
impl AddAssign for Saturating<i8>
fn add_assign(self: &mut Self, other: Saturating<i8>)
impl AddAssign for Saturating<i8>
fn add_assign(self: &mut Self, other: &Saturating<i8>)
impl AddAssign for Saturating<i8>
fn add_assign(self: &mut Self, other: i8)
impl AddAssign for Saturating<isize>
fn add_assign(self: &mut Self, other: Saturating<isize>)
impl AddAssign for Saturating<isize>
fn add_assign(self: &mut Self, other: &Saturating<isize>)
impl AddAssign for Saturating<isize>
fn add_assign(self: &mut Self, other: isize)
impl AddAssign for Saturating<isize>
fn add_assign(self: &mut Self, other: &isize)
impl AddAssign for Saturating<u128>
fn add_assign(self: &mut Self, other: &u128)
impl AddAssign for Saturating<u128>
fn add_assign(self: &mut Self, other: Saturating<u128>)
impl AddAssign for Saturating<u128>
fn add_assign(self: &mut Self, other: &Saturating<u128>)
impl AddAssign for Saturating<u128>
fn add_assign(self: &mut Self, other: u128)
impl AddAssign for Saturating<u16>
fn add_assign(self: &mut Self, other: &Saturating<u16>)
impl AddAssign for Saturating<u16>
fn add_assign(self: &mut Self, other: u16)
impl AddAssign for Saturating<u16>
fn add_assign(self: &mut Self, other: &u16)
impl AddAssign for Saturating<u16>
fn add_assign(self: &mut Self, other: Saturating<u16>)
impl AddAssign for Saturating<u32>
fn add_assign(self: &mut Self, other: Saturating<u32>)
impl AddAssign for Saturating<u32>
fn add_assign(self: &mut Self, other: &Saturating<u32>)
impl AddAssign for Saturating<u32>
fn add_assign(self: &mut Self, other: u32)
impl AddAssign for Saturating<u32>
fn add_assign(self: &mut Self, other: &u32)
impl AddAssign for Saturating<u64>
fn add_assign(self: &mut Self, other: Saturating<u64>)
impl AddAssign for Saturating<u64>
fn add_assign(self: &mut Self, other: &Saturating<u64>)
impl AddAssign for Saturating<u64>
fn add_assign(self: &mut Self, other: u64)
impl AddAssign for Saturating<u64>
fn add_assign(self: &mut Self, other: &u64)
impl AddAssign for Saturating<u8>
fn add_assign(self: &mut Self, other: Saturating<u8>)
impl AddAssign for Saturating<u8>
fn add_assign(self: &mut Self, other: &Saturating<u8>)
impl AddAssign for Saturating<u8>
fn add_assign(self: &mut Self, other: u8)
impl AddAssign for Saturating<u8>
fn add_assign(self: &mut Self, other: &u8)
impl AddAssign for Saturating<usize>
fn add_assign(self: &mut Self, other: Saturating<usize>)
impl AddAssign for Saturating<usize>
fn add_assign(self: &mut Self, other: &Saturating<usize>)
impl AddAssign for Saturating<usize>
fn add_assign(self: &mut Self, other: usize)
impl AddAssign for Saturating<usize>
fn add_assign(self: &mut Self, other: &usize)
impl BitAnd for Saturating<i128>
fn bitand(self: Self, other: Saturating<i128>) -> Saturating<i128>
impl BitAnd for Saturating<i128>
fn bitand(self: Self, other: &Saturating<i128>) -> <Saturating<i128> as BitAnd<Saturating<i128>>>::Output
impl BitAnd for Saturating<i16>
fn bitand(self: Self, other: Saturating<i16>) -> Saturating<i16>
impl BitAnd for Saturating<i16>
fn bitand(self: Self, other: &Saturating<i16>) -> <Saturating<i16> as BitAnd<Saturating<i16>>>::Output
impl BitAnd for Saturating<i32>
fn bitand(self: Self, other: &Saturating<i32>) -> <Saturating<i32> as BitAnd<Saturating<i32>>>::Output
impl BitAnd for Saturating<i32>
fn bitand(self: Self, other: Saturating<i32>) -> Saturating<i32>
impl BitAnd for Saturating<i64>
fn bitand(self: Self, other: Saturating<i64>) -> Saturating<i64>
impl BitAnd for Saturating<i64>
fn bitand(self: Self, other: &Saturating<i64>) -> <Saturating<i64> as BitAnd<Saturating<i64>>>::Output
impl BitAnd for Saturating<i8>
fn bitand(self: Self, other: &Saturating<i8>) -> <Saturating<i8> as BitAnd<Saturating<i8>>>::Output
impl BitAnd for Saturating<i8>
fn bitand(self: Self, other: Saturating<i8>) -> Saturating<i8>
impl BitAnd for Saturating<isize>
fn bitand(self: Self, other: Saturating<isize>) -> Saturating<isize>
impl BitAnd for Saturating<isize>
fn bitand(self: Self, other: &Saturating<isize>) -> <Saturating<isize> as BitAnd<Saturating<isize>>>::Output
impl BitAnd for Saturating<u128>
fn bitand(self: Self, other: &Saturating<u128>) -> <Saturating<u128> as BitAnd<Saturating<u128>>>::Output
impl BitAnd for Saturating<u128>
fn bitand(self: Self, other: Saturating<u128>) -> Saturating<u128>
impl BitAnd for Saturating<u16>
fn bitand(self: Self, other: Saturating<u16>) -> Saturating<u16>
impl BitAnd for Saturating<u16>
fn bitand(self: Self, other: &Saturating<u16>) -> <Saturating<u16> as BitAnd<Saturating<u16>>>::Output
impl BitAnd for Saturating<u32>
fn bitand(self: Self, other: &Saturating<u32>) -> <Saturating<u32> as BitAnd<Saturating<u32>>>::Output
impl BitAnd for Saturating<u32>
fn bitand(self: Self, other: Saturating<u32>) -> Saturating<u32>
impl BitAnd for Saturating<u64>
fn bitand(self: Self, other: Saturating<u64>) -> Saturating<u64>
impl BitAnd for Saturating<u64>
fn bitand(self: Self, other: &Saturating<u64>) -> <Saturating<u64> as BitAnd<Saturating<u64>>>::Output
impl BitAnd for Saturating<u8>
fn bitand(self: Self, other: &Saturating<u8>) -> <Saturating<u8> as BitAnd<Saturating<u8>>>::Output
impl BitAnd for Saturating<u8>
fn bitand(self: Self, other: Saturating<u8>) -> Saturating<u8>
impl BitAnd for Saturating<usize>
fn bitand(self: Self, other: &Saturating<usize>) -> <Saturating<usize> as BitAnd<Saturating<usize>>>::Output
impl BitAnd for Saturating<usize>
fn bitand(self: Self, other: Saturating<usize>) -> Saturating<usize>
impl BitAndAssign for Saturating<i128>
fn bitand_assign(self: &mut Self, other: &Saturating<i128>)
impl BitAndAssign for Saturating<i128>
fn bitand_assign(self: &mut Self, other: i128)
impl BitAndAssign for Saturating<i128>
fn bitand_assign(self: &mut Self, other: &i128)
impl BitAndAssign for Saturating<i128>
fn bitand_assign(self: &mut Self, other: Saturating<i128>)
impl BitAndAssign for Saturating<i16>
fn bitand_assign(self: &mut Self, other: Saturating<i16>)
impl BitAndAssign for Saturating<i16>
fn bitand_assign(self: &mut Self, other: &Saturating<i16>)
impl BitAndAssign for Saturating<i16>
fn bitand_assign(self: &mut Self, other: i16)
impl BitAndAssign for Saturating<i16>
fn bitand_assign(self: &mut Self, other: &i16)
impl BitAndAssign for Saturating<i32>
fn bitand_assign(self: &mut Self, other: i32)
impl BitAndAssign for Saturating<i32>
fn bitand_assign(self: &mut Self, other: &i32)
impl BitAndAssign for Saturating<i32>
fn bitand_assign(self: &mut Self, other: Saturating<i32>)
impl BitAndAssign for Saturating<i32>
fn bitand_assign(self: &mut Self, other: &Saturating<i32>)
impl BitAndAssign for Saturating<i64>
fn bitand_assign(self: &mut Self, other: Saturating<i64>)
impl BitAndAssign for Saturating<i64>
fn bitand_assign(self: &mut Self, other: &Saturating<i64>)
impl BitAndAssign for Saturating<i64>
fn bitand_assign(self: &mut Self, other: i64)
impl BitAndAssign for Saturating<i64>
fn bitand_assign(self: &mut Self, other: &i64)
impl BitAndAssign for Saturating<i8>
fn bitand_assign(self: &mut Self, other: i8)
impl BitAndAssign for Saturating<i8>
fn bitand_assign(self: &mut Self, other: &i8)
impl BitAndAssign for Saturating<i8>
fn bitand_assign(self: &mut Self, other: Saturating<i8>)
impl BitAndAssign for Saturating<i8>
fn bitand_assign(self: &mut Self, other: &Saturating<i8>)
impl BitAndAssign for Saturating<isize>
fn bitand_assign(self: &mut Self, other: Saturating<isize>)
impl BitAndAssign for Saturating<isize>
fn bitand_assign(self: &mut Self, other: &Saturating<isize>)
impl BitAndAssign for Saturating<isize>
fn bitand_assign(self: &mut Self, other: isize)
impl BitAndAssign for Saturating<isize>
fn bitand_assign(self: &mut Self, other: &isize)
impl BitAndAssign for Saturating<u128>
fn bitand_assign(self: &mut Self, other: &u128)
impl BitAndAssign for Saturating<u128>
fn bitand_assign(self: &mut Self, other: Saturating<u128>)
impl BitAndAssign for Saturating<u128>
fn bitand_assign(self: &mut Self, other: &Saturating<u128>)
impl BitAndAssign for Saturating<u128>
fn bitand_assign(self: &mut Self, other: u128)
impl BitAndAssign for Saturating<u16>
fn bitand_assign(self: &mut Self, other: &Saturating<u16>)
impl BitAndAssign for Saturating<u16>
fn bitand_assign(self: &mut Self, other: u16)
impl BitAndAssign for Saturating<u16>
fn bitand_assign(self: &mut Self, other: &u16)
impl BitAndAssign for Saturating<u16>
fn bitand_assign(self: &mut Self, other: Saturating<u16>)
impl BitAndAssign for Saturating<u32>
fn bitand_assign(self: &mut Self, other: Saturating<u32>)
impl BitAndAssign for Saturating<u32>
fn bitand_assign(self: &mut Self, other: &Saturating<u32>)
impl BitAndAssign for Saturating<u32>
fn bitand_assign(self: &mut Self, other: u32)
impl BitAndAssign for Saturating<u32>
fn bitand_assign(self: &mut Self, other: &u32)
impl BitAndAssign for Saturating<u64>
fn bitand_assign(self: &mut Self, other: Saturating<u64>)
impl BitAndAssign for Saturating<u64>
fn bitand_assign(self: &mut Self, other: &Saturating<u64>)
impl BitAndAssign for Saturating<u64>
fn bitand_assign(self: &mut Self, other: u64)
impl BitAndAssign for Saturating<u64>
fn bitand_assign(self: &mut Self, other: &u64)
impl BitAndAssign for Saturating<u8>
fn bitand_assign(self: &mut Self, other: Saturating<u8>)
impl BitAndAssign for Saturating<u8>
fn bitand_assign(self: &mut Self, other: &Saturating<u8>)
impl BitAndAssign for Saturating<u8>
fn bitand_assign(self: &mut Self, other: u8)
impl BitAndAssign for Saturating<u8>
fn bitand_assign(self: &mut Self, other: &u8)
impl BitAndAssign for Saturating<usize>
fn bitand_assign(self: &mut Self, other: &Saturating<usize>)
impl BitAndAssign for Saturating<usize>
fn bitand_assign(self: &mut Self, other: usize)
impl BitAndAssign for Saturating<usize>
fn bitand_assign(self: &mut Self, other: &usize)
impl BitAndAssign for Saturating<usize>
fn bitand_assign(self: &mut Self, other: Saturating<usize>)
impl BitOr for Saturating<i128>
fn bitor(self: Self, other: Saturating<i128>) -> Saturating<i128>
impl BitOr for Saturating<i128>
fn bitor(self: Self, other: &Saturating<i128>) -> <Saturating<i128> as BitOr<Saturating<i128>>>::Output
impl BitOr for Saturating<i16>
fn bitor(self: Self, other: &Saturating<i16>) -> <Saturating<i16> as BitOr<Saturating<i16>>>::Output
impl BitOr for Saturating<i16>
fn bitor(self: Self, other: Saturating<i16>) -> Saturating<i16>
impl BitOr for Saturating<i32>
fn bitor(self: Self, other: Saturating<i32>) -> Saturating<i32>
impl BitOr for Saturating<i32>
fn bitor(self: Self, other: &Saturating<i32>) -> <Saturating<i32> as BitOr<Saturating<i32>>>::Output
impl BitOr for Saturating<i64>
fn bitor(self: Self, other: &Saturating<i64>) -> <Saturating<i64> as BitOr<Saturating<i64>>>::Output
impl BitOr for Saturating<i64>
fn bitor(self: Self, other: Saturating<i64>) -> Saturating<i64>
impl BitOr for Saturating<i8>
fn bitor(self: Self, other: Saturating<i8>) -> Saturating<i8>
impl BitOr for Saturating<i8>
fn bitor(self: Self, other: &Saturating<i8>) -> <Saturating<i8> as BitOr<Saturating<i8>>>::Output
impl BitOr for Saturating<isize>
fn bitor(self: Self, other: &Saturating<isize>) -> <Saturating<isize> as BitOr<Saturating<isize>>>::Output
impl BitOr for Saturating<isize>
fn bitor(self: Self, other: Saturating<isize>) -> Saturating<isize>
impl BitOr for Saturating<u128>
fn bitor(self: Self, other: Saturating<u128>) -> Saturating<u128>
impl BitOr for Saturating<u128>
fn bitor(self: Self, other: &Saturating<u128>) -> <Saturating<u128> as BitOr<Saturating<u128>>>::Output
impl BitOr for Saturating<u16>
fn bitor(self: Self, other: &Saturating<u16>) -> <Saturating<u16> as BitOr<Saturating<u16>>>::Output
impl BitOr for Saturating<u16>
fn bitor(self: Self, other: Saturating<u16>) -> Saturating<u16>
impl BitOr for Saturating<u32>
fn bitor(self: Self, other: Saturating<u32>) -> Saturating<u32>
impl BitOr for Saturating<u32>
fn bitor(self: Self, other: &Saturating<u32>) -> <Saturating<u32> as BitOr<Saturating<u32>>>::Output
impl BitOr for Saturating<u64>
fn bitor(self: Self, other: &Saturating<u64>) -> <Saturating<u64> as BitOr<Saturating<u64>>>::Output
impl BitOr for Saturating<u64>
fn bitor(self: Self, other: Saturating<u64>) -> Saturating<u64>
impl BitOr for Saturating<u8>
fn bitor(self: Self, other: Saturating<u8>) -> Saturating<u8>
impl BitOr for Saturating<u8>
fn bitor(self: Self, other: &Saturating<u8>) -> <Saturating<u8> as BitOr<Saturating<u8>>>::Output
impl BitOr for Saturating<usize>
fn bitor(self: Self, other: Saturating<usize>) -> Saturating<usize>
impl BitOr for Saturating<usize>
fn bitor(self: Self, other: &Saturating<usize>) -> <Saturating<usize> as BitOr<Saturating<usize>>>::Output
impl BitOrAssign for Saturating<i128>
fn bitor_assign(self: &mut Self, other: Saturating<i128>)
impl BitOrAssign for Saturating<i128>
fn bitor_assign(self: &mut Self, other: &Saturating<i128>)
impl BitOrAssign for Saturating<i128>
fn bitor_assign(self: &mut Self, other: i128)
impl BitOrAssign for Saturating<i128>
fn bitor_assign(self: &mut Self, other: &i128)
impl BitOrAssign for Saturating<i16>
fn bitor_assign(self: &mut Self, other: i16)
impl BitOrAssign for Saturating<i16>
fn bitor_assign(self: &mut Self, other: &i16)
impl BitOrAssign for Saturating<i16>
fn bitor_assign(self: &mut Self, other: Saturating<i16>)
impl BitOrAssign for Saturating<i16>
fn bitor_assign(self: &mut Self, other: &Saturating<i16>)
impl BitOrAssign for Saturating<i32>
fn bitor_assign(self: &mut Self, other: Saturating<i32>)
impl BitOrAssign for Saturating<i32>
fn bitor_assign(self: &mut Self, other: &Saturating<i32>)
impl BitOrAssign for Saturating<i32>
fn bitor_assign(self: &mut Self, other: i32)
impl BitOrAssign for Saturating<i32>
fn bitor_assign(self: &mut Self, other: &i32)
impl BitOrAssign for Saturating<i64>
fn bitor_assign(self: &mut Self, other: i64)
impl BitOrAssign for Saturating<i64>
fn bitor_assign(self: &mut Self, other: &i64)
impl BitOrAssign for Saturating<i64>
fn bitor_assign(self: &mut Self, other: Saturating<i64>)
impl BitOrAssign for Saturating<i64>
fn bitor_assign(self: &mut Self, other: &Saturating<i64>)
impl BitOrAssign for Saturating<i8>
fn bitor_assign(self: &mut Self, other: Saturating<i8>)
impl BitOrAssign for Saturating<i8>
fn bitor_assign(self: &mut Self, other: &Saturating<i8>)
impl BitOrAssign for Saturating<i8>
fn bitor_assign(self: &mut Self, other: i8)
impl BitOrAssign for Saturating<i8>
fn bitor_assign(self: &mut Self, other: &i8)
impl BitOrAssign for Saturating<isize>
fn bitor_assign(self: &mut Self, other: &isize)
impl BitOrAssign for Saturating<isize>
fn bitor_assign(self: &mut Self, other: Saturating<isize>)
impl BitOrAssign for Saturating<isize>
fn bitor_assign(self: &mut Self, other: &Saturating<isize>)
impl BitOrAssign for Saturating<isize>
fn bitor_assign(self: &mut Self, other: isize)
impl BitOrAssign for Saturating<u128>
fn bitor_assign(self: &mut Self, other: Saturating<u128>)
impl BitOrAssign for Saturating<u128>
fn bitor_assign(self: &mut Self, other: &Saturating<u128>)
impl BitOrAssign for Saturating<u128>
fn bitor_assign(self: &mut Self, other: u128)
impl BitOrAssign for Saturating<u128>
fn bitor_assign(self: &mut Self, other: &u128)
impl BitOrAssign for Saturating<u16>
fn bitor_assign(self: &mut Self, other: Saturating<u16>)
impl BitOrAssign for Saturating<u16>
fn bitor_assign(self: &mut Self, other: &Saturating<u16>)
impl BitOrAssign for Saturating<u16>
fn bitor_assign(self: &mut Self, other: u16)
impl BitOrAssign for Saturating<u16>
fn bitor_assign(self: &mut Self, other: &u16)
impl BitOrAssign for Saturating<u32>
fn bitor_assign(self: &mut Self, other: Saturating<u32>)
impl BitOrAssign for Saturating<u32>
fn bitor_assign(self: &mut Self, other: &Saturating<u32>)
impl BitOrAssign for Saturating<u32>
fn bitor_assign(self: &mut Self, other: u32)
impl BitOrAssign for Saturating<u32>
fn bitor_assign(self: &mut Self, other: &u32)
impl BitOrAssign for Saturating<u64>
fn bitor_assign(self: &mut Self, other: &u64)
impl BitOrAssign for Saturating<u64>
fn bitor_assign(self: &mut Self, other: Saturating<u64>)
impl BitOrAssign for Saturating<u64>
fn bitor_assign(self: &mut Self, other: &Saturating<u64>)
impl BitOrAssign for Saturating<u64>
fn bitor_assign(self: &mut Self, other: u64)
impl BitOrAssign for Saturating<u8>
fn bitor_assign(self: &mut Self, other: &Saturating<u8>)
impl BitOrAssign for Saturating<u8>
fn bitor_assign(self: &mut Self, other: u8)
impl BitOrAssign for Saturating<u8>
fn bitor_assign(self: &mut Self, other: &u8)
impl BitOrAssign for Saturating<u8>
fn bitor_assign(self: &mut Self, other: Saturating<u8>)
impl BitOrAssign for Saturating<usize>
fn bitor_assign(self: &mut Self, other: Saturating<usize>)
impl BitOrAssign for Saturating<usize>
fn bitor_assign(self: &mut Self, other: &Saturating<usize>)
impl BitOrAssign for Saturating<usize>
fn bitor_assign(self: &mut Self, other: usize)
impl BitOrAssign for Saturating<usize>
fn bitor_assign(self: &mut Self, other: &usize)
impl BitXor for Saturating<i128>
fn bitxor(self: Self, other: Saturating<i128>) -> Saturating<i128>
impl BitXor for Saturating<i128>
fn bitxor(self: Self, other: &Saturating<i128>) -> <Saturating<i128> as BitXor<Saturating<i128>>>::Output
impl BitXor for Saturating<i16>
fn bitxor(self: Self, other: Saturating<i16>) -> Saturating<i16>
impl BitXor for Saturating<i16>
fn bitxor(self: Self, other: &Saturating<i16>) -> <Saturating<i16> as BitXor<Saturating<i16>>>::Output
impl BitXor for Saturating<i32>
fn bitxor(self: Self, other: &Saturating<i32>) -> <Saturating<i32> as BitXor<Saturating<i32>>>::Output
impl BitXor for Saturating<i32>
fn bitxor(self: Self, other: Saturating<i32>) -> Saturating<i32>
impl BitXor for Saturating<i64>
fn bitxor(self: Self, other: Saturating<i64>) -> Saturating<i64>
impl BitXor for Saturating<i64>
fn bitxor(self: Self, other: &Saturating<i64>) -> <Saturating<i64> as BitXor<Saturating<i64>>>::Output
impl BitXor for Saturating<i8>
fn bitxor(self: Self, other: &Saturating<i8>) -> <Saturating<i8> as BitXor<Saturating<i8>>>::Output
impl BitXor for Saturating<i8>
fn bitxor(self: Self, other: Saturating<i8>) -> Saturating<i8>
impl BitXor for Saturating<isize>
fn bitxor(self: Self, other: Saturating<isize>) -> Saturating<isize>
impl BitXor for Saturating<isize>
fn bitxor(self: Self, other: &Saturating<isize>) -> <Saturating<isize> as BitXor<Saturating<isize>>>::Output
impl BitXor for Saturating<u128>
fn bitxor(self: Self, other: &Saturating<u128>) -> <Saturating<u128> as BitXor<Saturating<u128>>>::Output
impl BitXor for Saturating<u128>
fn bitxor(self: Self, other: Saturating<u128>) -> Saturating<u128>
impl BitXor for Saturating<u16>
fn bitxor(self: Self, other: Saturating<u16>) -> Saturating<u16>
impl BitXor for Saturating<u16>
fn bitxor(self: Self, other: &Saturating<u16>) -> <Saturating<u16> as BitXor<Saturating<u16>>>::Output
impl BitXor for Saturating<u32>
fn bitxor(self: Self, other: &Saturating<u32>) -> <Saturating<u32> as BitXor<Saturating<u32>>>::Output
impl BitXor for Saturating<u32>
fn bitxor(self: Self, other: Saturating<u32>) -> Saturating<u32>
impl BitXor for Saturating<u64>
fn bitxor(self: Self, other: Saturating<u64>) -> Saturating<u64>
impl BitXor for Saturating<u64>
fn bitxor(self: Self, other: &Saturating<u64>) -> <Saturating<u64> as BitXor<Saturating<u64>>>::Output
impl BitXor for Saturating<u8>
fn bitxor(self: Self, other: &Saturating<u8>) -> <Saturating<u8> as BitXor<Saturating<u8>>>::Output
impl BitXor for Saturating<u8>
fn bitxor(self: Self, other: Saturating<u8>) -> Saturating<u8>
impl BitXor for Saturating<usize>
fn bitxor(self: Self, other: &Saturating<usize>) -> <Saturating<usize> as BitXor<Saturating<usize>>>::Output
impl BitXor for Saturating<usize>
fn bitxor(self: Self, other: Saturating<usize>) -> Saturating<usize>
impl BitXorAssign for Saturating<i128>
fn bitxor_assign(self: &mut Self, other: &Saturating<i128>)
impl BitXorAssign for Saturating<i128>
fn bitxor_assign(self: &mut Self, other: i128)
impl BitXorAssign for Saturating<i128>
fn bitxor_assign(self: &mut Self, other: &i128)
impl BitXorAssign for Saturating<i128>
fn bitxor_assign(self: &mut Self, other: Saturating<i128>)
impl BitXorAssign for Saturating<i16>
fn bitxor_assign(self: &mut Self, other: Saturating<i16>)
impl BitXorAssign for Saturating<i16>
fn bitxor_assign(self: &mut Self, other: &Saturating<i16>)
impl BitXorAssign for Saturating<i16>
fn bitxor_assign(self: &mut Self, other: i16)
impl BitXorAssign for Saturating<i16>
fn bitxor_assign(self: &mut Self, other: &i16)
impl BitXorAssign for Saturating<i32>
fn bitxor_assign(self: &mut Self, other: i32)
impl BitXorAssign for Saturating<i32>
fn bitxor_assign(self: &mut Self, other: &i32)
impl BitXorAssign for Saturating<i32>
fn bitxor_assign(self: &mut Self, other: Saturating<i32>)
impl BitXorAssign for Saturating<i32>
fn bitxor_assign(self: &mut Self, other: &Saturating<i32>)
impl BitXorAssign for Saturating<i64>
fn bitxor_assign(self: &mut Self, other: Saturating<i64>)
impl BitXorAssign for Saturating<i64>
fn bitxor_assign(self: &mut Self, other: &Saturating<i64>)
impl BitXorAssign for Saturating<i64>
fn bitxor_assign(self: &mut Self, other: i64)
impl BitXorAssign for Saturating<i64>
fn bitxor_assign(self: &mut Self, other: &i64)
impl BitXorAssign for Saturating<i8>
fn bitxor_assign(self: &mut Self, other: &i8)
impl BitXorAssign for Saturating<i8>
fn bitxor_assign(self: &mut Self, other: Saturating<i8>)
impl BitXorAssign for Saturating<i8>
fn bitxor_assign(self: &mut Self, other: &Saturating<i8>)
impl BitXorAssign for Saturating<i8>
fn bitxor_assign(self: &mut Self, other: i8)
impl BitXorAssign for Saturating<isize>
fn bitxor_assign(self: &mut Self, other: Saturating<isize>)
impl BitXorAssign for Saturating<isize>
fn bitxor_assign(self: &mut Self, other: &Saturating<isize>)
impl BitXorAssign for Saturating<isize>
fn bitxor_assign(self: &mut Self, other: isize)
impl BitXorAssign for Saturating<isize>
fn bitxor_assign(self: &mut Self, other: &isize)
impl BitXorAssign for Saturating<u128>
fn bitxor_assign(self: &mut Self, other: &u128)
impl BitXorAssign for Saturating<u128>
fn bitxor_assign(self: &mut Self, other: Saturating<u128>)
impl BitXorAssign for Saturating<u128>
fn bitxor_assign(self: &mut Self, other: &Saturating<u128>)
impl BitXorAssign for Saturating<u128>
fn bitxor_assign(self: &mut Self, other: u128)
impl BitXorAssign for Saturating<u16>
fn bitxor_assign(self: &mut Self, other: &Saturating<u16>)
impl BitXorAssign for Saturating<u16>
fn bitxor_assign(self: &mut Self, other: u16)
impl BitXorAssign for Saturating<u16>
fn bitxor_assign(self: &mut Self, other: &u16)
impl BitXorAssign for Saturating<u16>
fn bitxor_assign(self: &mut Self, other: Saturating<u16>)
impl BitXorAssign for Saturating<u32>
fn bitxor_assign(self: &mut Self, other: Saturating<u32>)
impl BitXorAssign for Saturating<u32>
fn bitxor_assign(self: &mut Self, other: &Saturating<u32>)
impl BitXorAssign for Saturating<u32>
fn bitxor_assign(self: &mut Self, other: u32)
impl BitXorAssign for Saturating<u32>
fn bitxor_assign(self: &mut Self, other: &u32)
impl BitXorAssign for Saturating<u64>
fn bitxor_assign(self: &mut Self, other: Saturating<u64>)
impl BitXorAssign for Saturating<u64>
fn bitxor_assign(self: &mut Self, other: &Saturating<u64>)
impl BitXorAssign for Saturating<u64>
fn bitxor_assign(self: &mut Self, other: u64)
impl BitXorAssign for Saturating<u64>
fn bitxor_assign(self: &mut Self, other: &u64)
impl BitXorAssign for Saturating<u8>
fn bitxor_assign(self: &mut Self, other: Saturating<u8>)
impl BitXorAssign for Saturating<u8>
fn bitxor_assign(self: &mut Self, other: &Saturating<u8>)
impl BitXorAssign for Saturating<u8>
fn bitxor_assign(self: &mut Self, other: u8)
impl BitXorAssign for Saturating<u8>
fn bitxor_assign(self: &mut Self, other: &u8)
impl BitXorAssign for Saturating<usize>
fn bitxor_assign(self: &mut Self, other: usize)
impl BitXorAssign for Saturating<usize>
fn bitxor_assign(self: &mut Self, other: &usize)
impl BitXorAssign for Saturating<usize>
fn bitxor_assign(self: &mut Self, other: Saturating<usize>)
impl BitXorAssign for Saturating<usize>
fn bitxor_assign(self: &mut Self, other: &Saturating<usize>)
impl Div for Saturating<i128>
fn div(self: Self, other: &Saturating<i128>) -> <Saturating<i128> as Div<Saturating<i128>>>::Output
impl Div for Saturating<i128>
fn div(self: Self, other: Saturating<i128>) -> Saturating<i128>
impl Div for Saturating<i16>
fn div(self: Self, other: &Saturating<i16>) -> <Saturating<i16> as Div<Saturating<i16>>>::Output
impl Div for Saturating<i16>
fn div(self: Self, other: Saturating<i16>) -> Saturating<i16>
impl Div for Saturating<i32>
fn div(self: Self, other: Saturating<i32>) -> Saturating<i32>
impl Div for Saturating<i32>
fn div(self: Self, other: &Saturating<i32>) -> <Saturating<i32> as Div<Saturating<i32>>>::Output
impl Div for Saturating<i64>
fn div(self: Self, other: Saturating<i64>) -> Saturating<i64>
impl Div for Saturating<i64>
fn div(self: Self, other: &Saturating<i64>) -> <Saturating<i64> as Div<Saturating<i64>>>::Output
impl Div for Saturating<i8>
fn div(self: Self, other: Saturating<i8>) -> Saturating<i8>
impl Div for Saturating<i8>
fn div(self: Self, other: &Saturating<i8>) -> <Saturating<i8> as Div<Saturating<i8>>>::Output
impl Div for Saturating<isize>
fn div(self: Self, other: &Saturating<isize>) -> <Saturating<isize> as Div<Saturating<isize>>>::Output
impl Div for Saturating<isize>
fn div(self: Self, other: Saturating<isize>) -> Saturating<isize>
impl Div for Saturating<u128>
fn div(self: Self, other: Saturating<u128>) -> Saturating<u128>
impl Div for Saturating<u128>
fn div(self: Self, other: &Saturating<u128>) -> <Saturating<u128> as Div<Saturating<u128>>>::Output
impl Div for Saturating<u16>
fn div(self: Self, other: &Saturating<u16>) -> <Saturating<u16> as Div<Saturating<u16>>>::Output
impl Div for Saturating<u16>
fn div(self: Self, other: Saturating<u16>) -> Saturating<u16>
impl Div for Saturating<u32>
fn div(self: Self, other: Saturating<u32>) -> Saturating<u32>
impl Div for Saturating<u32>
fn div(self: Self, other: &Saturating<u32>) -> <Saturating<u32> as Div<Saturating<u32>>>::Output
impl Div for Saturating<u64>
fn div(self: Self, other: &Saturating<u64>) -> <Saturating<u64> as Div<Saturating<u64>>>::Output
impl Div for Saturating<u64>
fn div(self: Self, other: Saturating<u64>) -> Saturating<u64>
impl Div for Saturating<u8>
fn div(self: Self, other: Saturating<u8>) -> Saturating<u8>
impl Div for Saturating<u8>
fn div(self: Self, other: &Saturating<u8>) -> <Saturating<u8> as Div<Saturating<u8>>>::Output
impl Div for Saturating<usize>
fn div(self: Self, other: Saturating<usize>) -> Saturating<usize>
impl Div for Saturating<usize>
fn div(self: Self, other: &Saturating<usize>) -> <Saturating<usize> as Div<Saturating<usize>>>::Output
impl DivAssign for Saturating<i128>
fn div_assign(self: &mut Self, other: Saturating<i128>)
impl DivAssign for Saturating<i128>
fn div_assign(self: &mut Self, other: &Saturating<i128>)
impl DivAssign for Saturating<i128>
fn div_assign(self: &mut Self, other: i128)
impl DivAssign for Saturating<i128>
fn div_assign(self: &mut Self, other: &i128)
impl DivAssign for Saturating<i16>
fn div_assign(self: &mut Self, other: i16)
impl DivAssign for Saturating<i16>
fn div_assign(self: &mut Self, other: &i16)
impl DivAssign for Saturating<i16>
fn div_assign(self: &mut Self, other: Saturating<i16>)
impl DivAssign for Saturating<i16>
fn div_assign(self: &mut Self, other: &Saturating<i16>)
impl DivAssign for Saturating<i32>
fn div_assign(self: &mut Self, other: Saturating<i32>)
impl DivAssign for Saturating<i32>
fn div_assign(self: &mut Self, other: &Saturating<i32>)
impl DivAssign for Saturating<i32>
fn div_assign(self: &mut Self, other: i32)
impl DivAssign for Saturating<i32>
fn div_assign(self: &mut Self, other: &i32)
impl DivAssign for Saturating<i64>
fn div_assign(self: &mut Self, other: i64)
impl DivAssign for Saturating<i64>
fn div_assign(self: &mut Self, other: &i64)
impl DivAssign for Saturating<i64>
fn div_assign(self: &mut Self, other: Saturating<i64>)
impl DivAssign for Saturating<i64>
fn div_assign(self: &mut Self, other: &Saturating<i64>)
impl DivAssign for Saturating<i8>
fn div_assign(self: &mut Self, other: Saturating<i8>)
impl DivAssign for Saturating<i8>
fn div_assign(self: &mut Self, other: &Saturating<i8>)
impl DivAssign for Saturating<i8>
fn div_assign(self: &mut Self, other: i8)
impl DivAssign for Saturating<i8>
fn div_assign(self: &mut Self, other: &i8)
impl DivAssign for Saturating<isize>
fn div_assign(self: &mut Self, other: &isize)
impl DivAssign for Saturating<isize>
fn div_assign(self: &mut Self, other: Saturating<isize>)
impl DivAssign for Saturating<isize>
fn div_assign(self: &mut Self, other: &Saturating<isize>)
impl DivAssign for Saturating<isize>
fn div_assign(self: &mut Self, other: isize)
impl DivAssign for Saturating<u128>
fn div_assign(self: &mut Self, other: Saturating<u128>)
impl DivAssign for Saturating<u128>
fn div_assign(self: &mut Self, other: &Saturating<u128>)
impl DivAssign for Saturating<u128>
fn div_assign(self: &mut Self, other: u128)
impl DivAssign for Saturating<u128>
fn div_assign(self: &mut Self, other: &u128)
impl DivAssign for Saturating<u16>
fn div_assign(self: &mut Self, other: Saturating<u16>)
impl DivAssign for Saturating<u16>
fn div_assign(self: &mut Self, other: &Saturating<u16>)
impl DivAssign for Saturating<u16>
fn div_assign(self: &mut Self, other: u16)
impl DivAssign for Saturating<u16>
fn div_assign(self: &mut Self, other: &u16)
impl DivAssign for Saturating<u32>
fn div_assign(self: &mut Self, other: Saturating<u32>)
impl DivAssign for Saturating<u32>
fn div_assign(self: &mut Self, other: &Saturating<u32>)
impl DivAssign for Saturating<u32>
fn div_assign(self: &mut Self, other: u32)
impl DivAssign for Saturating<u32>
fn div_assign(self: &mut Self, other: &u32)
impl DivAssign for Saturating<u64>
fn div_assign(self: &mut Self, other: &u64)
impl DivAssign for Saturating<u64>
fn div_assign(self: &mut Self, other: Saturating<u64>)
impl DivAssign for Saturating<u64>
fn div_assign(self: &mut Self, other: &Saturating<u64>)
impl DivAssign for Saturating<u64>
fn div_assign(self: &mut Self, other: u64)
impl DivAssign for Saturating<u8>
fn div_assign(self: &mut Self, other: &Saturating<u8>)
impl DivAssign for Saturating<u8>
fn div_assign(self: &mut Self, other: u8)
impl DivAssign for Saturating<u8>
fn div_assign(self: &mut Self, other: &u8)
impl DivAssign for Saturating<u8>
fn div_assign(self: &mut Self, other: Saturating<u8>)
impl DivAssign for Saturating<usize>
fn div_assign(self: &mut Self, other: Saturating<usize>)
impl DivAssign for Saturating<usize>
fn div_assign(self: &mut Self, other: &Saturating<usize>)
impl DivAssign for Saturating<usize>
fn div_assign(self: &mut Self, other: usize)
impl DivAssign for Saturating<usize>
fn div_assign(self: &mut Self, other: &usize)
impl Mul for Saturating<i128>
fn mul(self: Self, other: Saturating<i128>) -> Saturating<i128>
impl Mul for Saturating<i128>
fn mul(self: Self, other: &Saturating<i128>) -> <Saturating<i128> as Mul<Saturating<i128>>>::Output
impl Mul for Saturating<i16>
fn mul(self: Self, other: Saturating<i16>) -> Saturating<i16>
impl Mul for Saturating<i16>
fn mul(self: Self, other: &Saturating<i16>) -> <Saturating<i16> as Mul<Saturating<i16>>>::Output
impl Mul for Saturating<i32>
fn mul(self: Self, other: &Saturating<i32>) -> <Saturating<i32> as Mul<Saturating<i32>>>::Output
impl Mul for Saturating<i32>
fn mul(self: Self, other: Saturating<i32>) -> Saturating<i32>
impl Mul for Saturating<i64>
fn mul(self: Self, other: Saturating<i64>) -> Saturating<i64>
impl Mul for Saturating<i64>
fn mul(self: Self, other: &Saturating<i64>) -> <Saturating<i64> as Mul<Saturating<i64>>>::Output
impl Mul for Saturating<i8>
fn mul(self: Self, other: &Saturating<i8>) -> <Saturating<i8> as Mul<Saturating<i8>>>::Output
impl Mul for Saturating<i8>
fn mul(self: Self, other: Saturating<i8>) -> Saturating<i8>
impl Mul for Saturating<isize>
fn mul(self: Self, other: Saturating<isize>) -> Saturating<isize>
impl Mul for Saturating<isize>
fn mul(self: Self, other: &Saturating<isize>) -> <Saturating<isize> as Mul<Saturating<isize>>>::Output
impl Mul for Saturating<u128>
fn mul(self: Self, other: &Saturating<u128>) -> <Saturating<u128> as Mul<Saturating<u128>>>::Output
impl Mul for Saturating<u128>
fn mul(self: Self, other: Saturating<u128>) -> Saturating<u128>
impl Mul for Saturating<u16>
fn mul(self: Self, other: Saturating<u16>) -> Saturating<u16>
impl Mul for Saturating<u16>
fn mul(self: Self, other: &Saturating<u16>) -> <Saturating<u16> as Mul<Saturating<u16>>>::Output
impl Mul for Saturating<u32>
fn mul(self: Self, other: &Saturating<u32>) -> <Saturating<u32> as Mul<Saturating<u32>>>::Output
impl Mul for Saturating<u32>
fn mul(self: Self, other: Saturating<u32>) -> Saturating<u32>
impl Mul for Saturating<u64>
fn mul(self: Self, other: Saturating<u64>) -> Saturating<u64>
impl Mul for Saturating<u64>
fn mul(self: Self, other: &Saturating<u64>) -> <Saturating<u64> as Mul<Saturating<u64>>>::Output
impl Mul for Saturating<u8>
fn mul(self: Self, other: &Saturating<u8>) -> <Saturating<u8> as Mul<Saturating<u8>>>::Output
impl Mul for Saturating<u8>
fn mul(self: Self, other: Saturating<u8>) -> Saturating<u8>
impl Mul for Saturating<usize>
fn mul(self: Self, other: &Saturating<usize>) -> <Saturating<usize> as Mul<Saturating<usize>>>::Output
impl Mul for Saturating<usize>
fn mul(self: Self, other: Saturating<usize>) -> Saturating<usize>
impl MulAssign for Saturating<i128>
fn mul_assign(self: &mut Self, other: &Saturating<i128>)
impl MulAssign for Saturating<i128>
fn mul_assign(self: &mut Self, other: i128)
impl MulAssign for Saturating<i128>
fn mul_assign(self: &mut Self, other: &i128)
impl MulAssign for Saturating<i128>
fn mul_assign(self: &mut Self, other: Saturating<i128>)
impl MulAssign for Saturating<i16>
fn mul_assign(self: &mut Self, other: Saturating<i16>)
impl MulAssign for Saturating<i16>
fn mul_assign(self: &mut Self, other: &Saturating<i16>)
impl MulAssign for Saturating<i16>
fn mul_assign(self: &mut Self, other: i16)
impl MulAssign for Saturating<i16>
fn mul_assign(self: &mut Self, other: &i16)
impl MulAssign for Saturating<i32>
fn mul_assign(self: &mut Self, other: i32)
impl MulAssign for Saturating<i32>
fn mul_assign(self: &mut Self, other: &i32)
impl MulAssign for Saturating<i32>
fn mul_assign(self: &mut Self, other: Saturating<i32>)
impl MulAssign for Saturating<i32>
fn mul_assign(self: &mut Self, other: &Saturating<i32>)
impl MulAssign for Saturating<i64>
fn mul_assign(self: &mut Self, other: Saturating<i64>)
impl MulAssign for Saturating<i64>
fn mul_assign(self: &mut Self, other: &Saturating<i64>)
impl MulAssign for Saturating<i64>
fn mul_assign(self: &mut Self, other: i64)
impl MulAssign for Saturating<i64>
fn mul_assign(self: &mut Self, other: &i64)
impl MulAssign for Saturating<i8>
fn mul_assign(self: &mut Self, other: i8)
impl MulAssign for Saturating<i8>
fn mul_assign(self: &mut Self, other: &i8)
impl MulAssign for Saturating<i8>
fn mul_assign(self: &mut Self, other: Saturating<i8>)
impl MulAssign for Saturating<i8>
fn mul_assign(self: &mut Self, other: &Saturating<i8>)
impl MulAssign for Saturating<isize>
fn mul_assign(self: &mut Self, other: Saturating<isize>)
impl MulAssign for Saturating<isize>
fn mul_assign(self: &mut Self, other: &Saturating<isize>)
impl MulAssign for Saturating<isize>
fn mul_assign(self: &mut Self, other: isize)
impl MulAssign for Saturating<isize>
fn mul_assign(self: &mut Self, other: &isize)
impl MulAssign for Saturating<u128>
fn mul_assign(self: &mut Self, other: &u128)
impl MulAssign for Saturating<u128>
fn mul_assign(self: &mut Self, other: Saturating<u128>)
impl MulAssign for Saturating<u128>
fn mul_assign(self: &mut Self, other: &Saturating<u128>)
impl MulAssign for Saturating<u128>
fn mul_assign(self: &mut Self, other: u128)
impl MulAssign for Saturating<u16>
fn mul_assign(self: &mut Self, other: &Saturating<u16>)
impl MulAssign for Saturating<u16>
fn mul_assign(self: &mut Self, other: u16)
impl MulAssign for Saturating<u16>
fn mul_assign(self: &mut Self, other: &u16)
impl MulAssign for Saturating<u16>
fn mul_assign(self: &mut Self, other: Saturating<u16>)
impl MulAssign for Saturating<u32>
fn mul_assign(self: &mut Self, other: Saturating<u32>)
impl MulAssign for Saturating<u32>
fn mul_assign(self: &mut Self, other: &Saturating<u32>)
impl MulAssign for Saturating<u32>
fn mul_assign(self: &mut Self, other: u32)
impl MulAssign for Saturating<u32>
fn mul_assign(self: &mut Self, other: &u32)
impl MulAssign for Saturating<u64>
fn mul_assign(self: &mut Self, other: Saturating<u64>)
impl MulAssign for Saturating<u64>
fn mul_assign(self: &mut Self, other: &Saturating<u64>)
impl MulAssign for Saturating<u64>
fn mul_assign(self: &mut Self, other: u64)
impl MulAssign for Saturating<u64>
fn mul_assign(self: &mut Self, other: &u64)
impl MulAssign for Saturating<u8>
fn mul_assign(self: &mut Self, other: Saturating<u8>)
impl MulAssign for Saturating<u8>
fn mul_assign(self: &mut Self, other: &Saturating<u8>)
impl MulAssign for Saturating<u8>
fn mul_assign(self: &mut Self, other: u8)
impl MulAssign for Saturating<u8>
fn mul_assign(self: &mut Self, other: &u8)
impl MulAssign for Saturating<usize>
fn mul_assign(self: &mut Self, other: Saturating<usize>)
impl MulAssign for Saturating<usize>
fn mul_assign(self: &mut Self, other: &Saturating<usize>)
impl MulAssign for Saturating<usize>
fn mul_assign(self: &mut Self, other: usize)
impl MulAssign for Saturating<usize>
fn mul_assign(self: &mut Self, other: &usize)
impl Neg for Saturating<i128>
fn neg(self: Self) -> Self
impl Neg for Saturating<i16>
fn neg(self: Self) -> Self
impl Neg for Saturating<i32>
fn neg(self: Self) -> Self
impl Neg for Saturating<i64>
fn neg(self: Self) -> Self
impl Neg for Saturating<i8>
fn neg(self: Self) -> Self
impl Neg for Saturating<isize>
fn neg(self: Self) -> Self
impl Not for Saturating<i128>
fn not(self: Self) -> Saturating<i128>
impl Not for Saturating<i16>
fn not(self: Self) -> Saturating<i16>
impl Not for Saturating<i32>
fn not(self: Self) -> Saturating<i32>
impl Not for Saturating<i64>
fn not(self: Self) -> Saturating<i64>
impl Not for Saturating<i8>
fn not(self: Self) -> Saturating<i8>
impl Not for Saturating<isize>
fn not(self: Self) -> Saturating<isize>
impl Not for Saturating<u128>
fn not(self: Self) -> Saturating<u128>
impl Not for Saturating<u16>
fn not(self: Self) -> Saturating<u16>
impl Not for Saturating<u32>
fn not(self: Self) -> Saturating<u32>
impl Not for Saturating<u64>
fn not(self: Self) -> Saturating<u64>
impl Not for Saturating<u8>
fn not(self: Self) -> Saturating<u8>
impl Not for Saturating<usize>
fn not(self: Self) -> Saturating<usize>
impl Product for Saturating<u128>
fn product<I: Iterator<Item = Self>>(iter: I) -> Self
impl Product for Saturating<u16>
fn product<I: Iterator<Item = Self>>(iter: I) -> Self
impl Product for Saturating<u32>
fn product<I: Iterator<Item = Self>>(iter: I) -> Self
impl Product for Saturating<u64>
fn product<I: Iterator<Item = Self>>(iter: I) -> Self
impl Product for Saturating<u8>
fn product<I: Iterator<Item = Self>>(iter: I) -> Self
impl Product for Saturating<usize>
fn product<I: Iterator<Item = Self>>(iter: I) -> Self
impl Rem for Saturating<i128>
fn rem(self: Self, other: Saturating<i128>) -> Saturating<i128>
impl Rem for Saturating<i128>
fn rem(self: Self, other: &Saturating<i128>) -> <Saturating<i128> as Rem<Saturating<i128>>>::Output
impl Rem for Saturating<i16>
fn rem(self: Self, other: Saturating<i16>) -> Saturating<i16>
impl Rem for Saturating<i16>
fn rem(self: Self, other: &Saturating<i16>) -> <Saturating<i16> as Rem<Saturating<i16>>>::Output
impl Rem for Saturating<i32>
fn rem(self: Self, other: &Saturating<i32>) -> <Saturating<i32> as Rem<Saturating<i32>>>::Output
impl Rem for Saturating<i32>
fn rem(self: Self, other: Saturating<i32>) -> Saturating<i32>
impl Rem for Saturating<i64>
fn rem(self: Self, other: Saturating<i64>) -> Saturating<i64>
impl Rem for Saturating<i64>
fn rem(self: Self, other: &Saturating<i64>) -> <Saturating<i64> as Rem<Saturating<i64>>>::Output
impl Rem for Saturating<i8>
fn rem(self: Self, other: &Saturating<i8>) -> <Saturating<i8> as Rem<Saturating<i8>>>::Output
impl Rem for Saturating<i8>
fn rem(self: Self, other: Saturating<i8>) -> Saturating<i8>
impl Rem for Saturating<isize>
fn rem(self: Self, other: Saturating<isize>) -> Saturating<isize>
impl Rem for Saturating<isize>
fn rem(self: Self, other: &Saturating<isize>) -> <Saturating<isize> as Rem<Saturating<isize>>>::Output
impl Rem for Saturating<u128>
fn rem(self: Self, other: &Saturating<u128>) -> <Saturating<u128> as Rem<Saturating<u128>>>::Output
impl Rem for Saturating<u128>
fn rem(self: Self, other: Saturating<u128>) -> Saturating<u128>
impl Rem for Saturating<u16>
fn rem(self: Self, other: Saturating<u16>) -> Saturating<u16>
impl Rem for Saturating<u16>
fn rem(self: Self, other: &Saturating<u16>) -> <Saturating<u16> as Rem<Saturating<u16>>>::Output
impl Rem for Saturating<u32>
fn rem(self: Self, other: &Saturating<u32>) -> <Saturating<u32> as Rem<Saturating<u32>>>::Output
impl Rem for Saturating<u32>
fn rem(self: Self, other: Saturating<u32>) -> Saturating<u32>
impl Rem for Saturating<u64>
fn rem(self: Self, other: Saturating<u64>) -> Saturating<u64>
impl Rem for Saturating<u64>
fn rem(self: Self, other: &Saturating<u64>) -> <Saturating<u64> as Rem<Saturating<u64>>>::Output
impl Rem for Saturating<u8>
fn rem(self: Self, other: &Saturating<u8>) -> <Saturating<u8> as Rem<Saturating<u8>>>::Output
impl Rem for Saturating<u8>
fn rem(self: Self, other: Saturating<u8>) -> Saturating<u8>
impl Rem for Saturating<usize>
fn rem(self: Self, other: &Saturating<usize>) -> <Saturating<usize> as Rem<Saturating<usize>>>::Output
impl Rem for Saturating<usize>
fn rem(self: Self, other: Saturating<usize>) -> Saturating<usize>
impl RemAssign for Saturating<i128>
fn rem_assign(self: &mut Self, other: &Saturating<i128>)
impl RemAssign for Saturating<i128>
fn rem_assign(self: &mut Self, other: i128)
impl RemAssign for Saturating<i128>
fn rem_assign(self: &mut Self, other: &i128)
impl RemAssign for Saturating<i128>
fn rem_assign(self: &mut Self, other: Saturating<i128>)
impl RemAssign for Saturating<i16>
fn rem_assign(self: &mut Self, other: Saturating<i16>)
impl RemAssign for Saturating<i16>
fn rem_assign(self: &mut Self, other: &Saturating<i16>)
impl RemAssign for Saturating<i16>
fn rem_assign(self: &mut Self, other: i16)
impl RemAssign for Saturating<i16>
fn rem_assign(self: &mut Self, other: &i16)
impl RemAssign for Saturating<i32>
fn rem_assign(self: &mut Self, other: i32)
impl RemAssign for Saturating<i32>
fn rem_assign(self: &mut Self, other: &i32)
impl RemAssign for Saturating<i32>
fn rem_assign(self: &mut Self, other: Saturating<i32>)
impl RemAssign for Saturating<i32>
fn rem_assign(self: &mut Self, other: &Saturating<i32>)
impl RemAssign for Saturating<i64>
fn rem_assign(self: &mut Self, other: Saturating<i64>)
impl RemAssign for Saturating<i64>
fn rem_assign(self: &mut Self, other: &Saturating<i64>)
impl RemAssign for Saturating<i64>
fn rem_assign(self: &mut Self, other: i64)
impl RemAssign for Saturating<i64>
fn rem_assign(self: &mut Self, other: &i64)
impl RemAssign for Saturating<i8>
fn rem_assign(self: &mut Self, other: i8)
impl RemAssign for Saturating<i8>
fn rem_assign(self: &mut Self, other: &i8)
impl RemAssign for Saturating<i8>
fn rem_assign(self: &mut Self, other: Saturating<i8>)
impl RemAssign for Saturating<i8>
fn rem_assign(self: &mut Self, other: &Saturating<i8>)
impl RemAssign for Saturating<isize>
fn rem_assign(self: &mut Self, other: Saturating<isize>)
impl RemAssign for Saturating<isize>
fn rem_assign(self: &mut Self, other: &Saturating<isize>)
impl RemAssign for Saturating<isize>
fn rem_assign(self: &mut Self, other: isize)
impl RemAssign for Saturating<isize>
fn rem_assign(self: &mut Self, other: &isize)
impl RemAssign for Saturating<u128>
fn rem_assign(self: &mut Self, other: &u128)
impl RemAssign for Saturating<u128>
fn rem_assign(self: &mut Self, other: Saturating<u128>)
impl RemAssign for Saturating<u128>
fn rem_assign(self: &mut Self, other: &Saturating<u128>)
impl RemAssign for Saturating<u128>
fn rem_assign(self: &mut Self, other: u128)
impl RemAssign for Saturating<u16>
fn rem_assign(self: &mut Self, other: Saturating<u16>)
impl RemAssign for Saturating<u16>
fn rem_assign(self: &mut Self, other: &Saturating<u16>)
impl RemAssign for Saturating<u16>
fn rem_assign(self: &mut Self, other: u16)
impl RemAssign for Saturating<u16>
fn rem_assign(self: &mut Self, other: &u16)
impl RemAssign for Saturating<u32>
fn rem_assign(self: &mut Self, other: &u32)
impl RemAssign for Saturating<u32>
fn rem_assign(self: &mut Self, other: Saturating<u32>)
impl RemAssign for Saturating<u32>
fn rem_assign(self: &mut Self, other: &Saturating<u32>)
impl RemAssign for Saturating<u32>
fn rem_assign(self: &mut Self, other: u32)
impl RemAssign for Saturating<u64>
fn rem_assign(self: &mut Self, other: Saturating<u64>)
impl RemAssign for Saturating<u64>
fn rem_assign(self: &mut Self, other: &Saturating<u64>)
impl RemAssign for Saturating<u64>
fn rem_assign(self: &mut Self, other: u64)
impl RemAssign for Saturating<u64>
fn rem_assign(self: &mut Self, other: &u64)
impl RemAssign for Saturating<u8>
fn rem_assign(self: &mut Self, other: Saturating<u8>)
impl RemAssign for Saturating<u8>
fn rem_assign(self: &mut Self, other: &Saturating<u8>)
impl RemAssign for Saturating<u8>
fn rem_assign(self: &mut Self, other: u8)
impl RemAssign for Saturating<u8>
fn rem_assign(self: &mut Self, other: &u8)
impl RemAssign for Saturating<usize>
fn rem_assign(self: &mut Self, other: &usize)
impl RemAssign for Saturating<usize>
fn rem_assign(self: &mut Self, other: Saturating<usize>)
impl RemAssign for Saturating<usize>
fn rem_assign(self: &mut Self, other: &Saturating<usize>)
impl RemAssign for Saturating<usize>
fn rem_assign(self: &mut Self, other: usize)
impl Sub for Saturating<i128>
fn sub(self: Self, other: Saturating<i128>) -> Saturating<i128>
impl Sub for Saturating<i128>
fn sub(self: Self, other: &Saturating<i128>) -> <Saturating<i128> as Sub<Saturating<i128>>>::Output
impl Sub for Saturating<i16>
fn sub(self: Self, other: &Saturating<i16>) -> <Saturating<i16> as Sub<Saturating<i16>>>::Output
impl Sub for Saturating<i16>
fn sub(self: Self, other: Saturating<i16>) -> Saturating<i16>
impl Sub for Saturating<i32>
fn sub(self: Self, other: Saturating<i32>) -> Saturating<i32>
impl Sub for Saturating<i32>
fn sub(self: Self, other: &Saturating<i32>) -> <Saturating<i32> as Sub<Saturating<i32>>>::Output
impl Sub for Saturating<i64>
fn sub(self: Self, other: &Saturating<i64>) -> <Saturating<i64> as Sub<Saturating<i64>>>::Output
impl Sub for Saturating<i64>
fn sub(self: Self, other: Saturating<i64>) -> Saturating<i64>
impl Sub for Saturating<i8>
fn sub(self: Self, other: Saturating<i8>) -> Saturating<i8>
impl Sub for Saturating<i8>
fn sub(self: Self, other: &Saturating<i8>) -> <Saturating<i8> as Sub<Saturating<i8>>>::Output
impl Sub for Saturating<isize>
fn sub(self: Self, other: &Saturating<isize>) -> <Saturating<isize> as Sub<Saturating<isize>>>::Output
impl Sub for Saturating<isize>
fn sub(self: Self, other: Saturating<isize>) -> Saturating<isize>
impl Sub for Saturating<u128>
fn sub(self: Self, other: Saturating<u128>) -> Saturating<u128>
impl Sub for Saturating<u128>
fn sub(self: Self, other: &Saturating<u128>) -> <Saturating<u128> as Sub<Saturating<u128>>>::Output
impl Sub for Saturating<u16>
fn sub(self: Self, other: &Saturating<u16>) -> <Saturating<u16> as Sub<Saturating<u16>>>::Output
impl Sub for Saturating<u16>
fn sub(self: Self, other: Saturating<u16>) -> Saturating<u16>
impl Sub for Saturating<u32>
fn sub(self: Self, other: Saturating<u32>) -> Saturating<u32>
impl Sub for Saturating<u32>
fn sub(self: Self, other: &Saturating<u32>) -> <Saturating<u32> as Sub<Saturating<u32>>>::Output
impl Sub for Saturating<u64>
fn sub(self: Self, other: &Saturating<u64>) -> <Saturating<u64> as Sub<Saturating<u64>>>::Output
impl Sub for Saturating<u64>
fn sub(self: Self, other: Saturating<u64>) -> Saturating<u64>
impl Sub for Saturating<u8>
fn sub(self: Self, other: Saturating<u8>) -> Saturating<u8>
impl Sub for Saturating<u8>
fn sub(self: Self, other: &Saturating<u8>) -> <Saturating<u8> as Sub<Saturating<u8>>>::Output
impl Sub for Saturating<usize>
fn sub(self: Self, other: &Saturating<usize>) -> <Saturating<usize> as Sub<Saturating<usize>>>::Output
impl Sub for Saturating<usize>
fn sub(self: Self, other: Saturating<usize>) -> Saturating<usize>
impl SubAssign for Saturating<i128>
fn sub_assign(self: &mut Self, other: Saturating<i128>)
impl SubAssign for Saturating<i128>
fn sub_assign(self: &mut Self, other: &Saturating<i128>)
impl SubAssign for Saturating<i128>
fn sub_assign(self: &mut Self, other: i128)
impl SubAssign for Saturating<i128>
fn sub_assign(self: &mut Self, other: &i128)
impl SubAssign for Saturating<i16>
fn sub_assign(self: &mut Self, other: i16)
impl SubAssign for Saturating<i16>
fn sub_assign(self: &mut Self, other: &i16)
impl SubAssign for Saturating<i16>
fn sub_assign(self: &mut Self, other: Saturating<i16>)
impl SubAssign for Saturating<i16>
fn sub_assign(self: &mut Self, other: &Saturating<i16>)
impl SubAssign for Saturating<i32>
fn sub_assign(self: &mut Self, other: Saturating<i32>)
impl SubAssign for Saturating<i32>
fn sub_assign(self: &mut Self, other: &Saturating<i32>)
impl SubAssign for Saturating<i32>
fn sub_assign(self: &mut Self, other: i32)
impl SubAssign for Saturating<i32>
fn sub_assign(self: &mut Self, other: &i32)
impl SubAssign for Saturating<i64>
fn sub_assign(self: &mut Self, other: i64)
impl SubAssign for Saturating<i64>
fn sub_assign(self: &mut Self, other: &i64)
impl SubAssign for Saturating<i64>
fn sub_assign(self: &mut Self, other: Saturating<i64>)
impl SubAssign for Saturating<i64>
fn sub_assign(self: &mut Self, other: &Saturating<i64>)
impl SubAssign for Saturating<i8>
fn sub_assign(self: &mut Self, other: Saturating<i8>)
impl SubAssign for Saturating<i8>
fn sub_assign(self: &mut Self, other: &Saturating<i8>)
impl SubAssign for Saturating<i8>
fn sub_assign(self: &mut Self, other: i8)
impl SubAssign for Saturating<i8>
fn sub_assign(self: &mut Self, other: &i8)
impl SubAssign for Saturating<isize>
fn sub_assign(self: &mut Self, other: &isize)
impl SubAssign for Saturating<isize>
fn sub_assign(self: &mut Self, other: Saturating<isize>)
impl SubAssign for Saturating<isize>
fn sub_assign(self: &mut Self, other: &Saturating<isize>)
impl SubAssign for Saturating<isize>
fn sub_assign(self: &mut Self, other: isize)
impl SubAssign for Saturating<u128>
fn sub_assign(self: &mut Self, other: Saturating<u128>)
impl SubAssign for Saturating<u128>
fn sub_assign(self: &mut Self, other: &Saturating<u128>)
impl SubAssign for Saturating<u128>
fn sub_assign(self: &mut Self, other: u128)
impl SubAssign for Saturating<u128>
fn sub_assign(self: &mut Self, other: &u128)
impl SubAssign for Saturating<u16>
fn sub_assign(self: &mut Self, other: Saturating<u16>)
impl SubAssign for Saturating<u16>
fn sub_assign(self: &mut Self, other: &Saturating<u16>)
impl SubAssign for Saturating<u16>
fn sub_assign(self: &mut Self, other: u16)
impl SubAssign for Saturating<u16>
fn sub_assign(self: &mut Self, other: &u16)
impl SubAssign for Saturating<u32>
fn sub_assign(self: &mut Self, other: Saturating<u32>)
impl SubAssign for Saturating<u32>
fn sub_assign(self: &mut Self, other: &Saturating<u32>)
impl SubAssign for Saturating<u32>
fn sub_assign(self: &mut Self, other: u32)
impl SubAssign for Saturating<u32>
fn sub_assign(self: &mut Self, other: &u32)
impl SubAssign for Saturating<u64>
fn sub_assign(self: &mut Self, other: &u64)
impl SubAssign for Saturating<u64>
fn sub_assign(self: &mut Self, other: Saturating<u64>)
impl SubAssign for Saturating<u64>
fn sub_assign(self: &mut Self, other: &Saturating<u64>)
impl SubAssign for Saturating<u64>
fn sub_assign(self: &mut Self, other: u64)
impl SubAssign for Saturating<u8>
fn sub_assign(self: &mut Self, other: &Saturating<u8>)
impl SubAssign for Saturating<u8>
fn sub_assign(self: &mut Self, other: u8)
impl SubAssign for Saturating<u8>
fn sub_assign(self: &mut Self, other: &u8)
impl SubAssign for Saturating<u8>
fn sub_assign(self: &mut Self, other: Saturating<u8>)
impl SubAssign for Saturating<usize>
fn sub_assign(self: &mut Self, other: &Saturating<usize>)
impl SubAssign for Saturating<usize>
fn sub_assign(self: &mut Self, other: usize)
impl SubAssign for Saturating<usize>
fn sub_assign(self: &mut Self, other: &usize)
impl SubAssign for Saturating<usize>
fn sub_assign(self: &mut Self, other: Saturating<usize>)
impl Sum for Saturating<u128>
fn sum<I: Iterator<Item = Self>>(iter: I) -> Self
impl Sum for Saturating<u16>
fn sum<I: Iterator<Item = Self>>(iter: I) -> Self
impl Sum for Saturating<u32>
fn sum<I: Iterator<Item = Self>>(iter: I) -> Self
impl Sum for Saturating<u64>
fn sum<I: Iterator<Item = Self>>(iter: I) -> Self
impl Sum for Saturating<u8>
fn sum<I: Iterator<Item = Self>>(iter: I) -> Self
impl Sum for Saturating<usize>
fn sum<I: Iterator<Item = Self>>(iter: I) -> Self
impl<'a> Product for Saturating<u128>
fn product<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Product for Saturating<u16>
fn product<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Product for Saturating<u32>
fn product<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Product for Saturating<u64>
fn product<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Product for Saturating<u8>
fn product<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Product for Saturating<usize>
fn product<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Sum for Saturating<u128>
fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Sum for Saturating<u16>
fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Sum for Saturating<u32>
fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Sum for Saturating<u64>
fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Sum for Saturating<u8>
fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Sum for Saturating<usize>
fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<T> Any for Saturating<T>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Saturating<T>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Saturating<T>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for Saturating<T>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> Freeze for Saturating<T>
impl<T> From for Saturating<T>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> RefUnwindSafe for Saturating<T>
impl<T> Send for Saturating<T>
impl<T> StructuralPartialEq for Saturating<T>
impl<T> Sync for Saturating<T>
impl<T> Unpin for Saturating<T>
impl<T> UnsafeUnpin for Saturating<T>
impl<T> UnwindSafe for Saturating<T>
impl<T, U> Into for Saturating<T>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Saturating<T>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Saturating<T>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T: $crate::clone::Clone> Clone for Saturating<T>
fn clone(self: &Self) -> Saturating<T>
impl<T: $crate::cmp::Eq> Eq for Saturating<T>
impl<T: $crate::cmp::Ord> Ord for Saturating<T>
fn cmp(self: &Self, other: &Saturating<T>) -> Ordering
impl<T: $crate::cmp::PartialEq> PartialEq for Saturating<T>
fn eq(self: &Self, other: &Saturating<T>) -> bool
impl<T: $crate::cmp::PartialOrd> PartialOrd for Saturating<T>
fn partial_cmp(self: &Self, other: &Saturating<T>) -> Option<Ordering>
impl<T: $crate::default::Default> Default for Saturating<T>
fn default() -> Saturating<T>
impl<T: $crate::hash::Hash> Hash for Saturating<T>
fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)
impl<T: $crate::marker::Copy> Copy for Saturating<T>
impl<T: fmt::Binary> Binary for Saturating<T>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<T: fmt::Debug> Debug for Saturating<T>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<T: fmt::Display> Display for Saturating<T>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<T: fmt::LowerHex> LowerHex for Saturating<T>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<T: fmt::Octal> Octal for Saturating<T>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<T: fmt::UpperHex> UpperHex for Saturating<T>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result