Struct Saturating
#[repr(transparent)]
pub struct Saturating<T>(pub T);
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!;
Fields
0: T
Implementations
impl Saturating<i128>
const MIN: Self = _;Returns the smallest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const MAX: Self = _;Returns the largest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const BITS: u32 = i128::BITS;Returns the size of this integer type in bits.
Examples
use Saturating; assert_eq!;const fn count_ones(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) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(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, 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, 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) -> 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) -> 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) -> 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) -> 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, 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<i128>
const fn leading_zeros(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) -> 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) -> 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) -> boolReturns
trueifselfis positive andfalseif the number is zero or negative.Examples
use Saturating; assert!; assert!;const fn is_negative(self) -> boolReturns
trueifselfis negative andfalseif the number is zero or positive.Examples
use Saturating; assert!; assert!;
impl Saturating<i16>
const MIN: Self = _;Returns the smallest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const MAX: Self = _;Returns the largest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const BITS: u32 = i16::BITS;Returns the size of this integer type in bits.
Examples
use Saturating; assert_eq!;const fn count_ones(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) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(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, 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, 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) -> 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) -> 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) -> 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) -> 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, 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) -> u32Returns the number of leading zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn abs(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) -> 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) -> boolReturns
trueifselfis positive andfalseif the number is zero or negative.Examples
use Saturating; assert!; assert!;const fn is_negative(self) -> boolReturns
trueifselfis negative andfalseif the number is zero or positive.Examples
use Saturating; assert!; assert!;
impl Saturating<i32>
const fn leading_zeros(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) -> 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) -> 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) -> boolReturns
trueifselfis positive andfalseif the number is zero or negative.Examples
use Saturating; assert!; assert!;const fn is_negative(self) -> boolReturns
trueifselfis negative andfalseif the number is zero or positive.Examples
use Saturating; assert!; assert!;
impl Saturating<i32>
const MIN: Self = _;Returns the smallest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const MAX: Self = _;Returns the largest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const BITS: u32 = i32::BITS;Returns the size of this integer type in bits.
Examples
use Saturating; assert_eq!;const fn count_ones(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) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(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, 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, 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) -> 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) -> 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) -> 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) -> 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, 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<i64>
const MIN: Self = _;Returns the smallest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const MAX: Self = _;Returns the largest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const BITS: u32 = i64::BITS;Returns the size of this integer type in bits.
Examples
use Saturating; assert_eq!;const fn count_ones(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) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(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, 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, 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) -> 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) -> 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) -> 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) -> 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, 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<i64>
const fn leading_zeros(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) -> 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) -> 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) -> boolReturns
trueifselfis positive andfalseif the number is zero or negative.Examples
use Saturating; assert!; assert!;const fn is_negative(self) -> boolReturns
trueifselfis negative andfalseif the number is zero or positive.Examples
use Saturating; assert!; assert!;
impl Saturating<i8>
const fn leading_zeros(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) -> 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) -> 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) -> boolReturns
trueifselfis positive andfalseif the number is zero or negative.Examples
use Saturating; assert!; assert!;const fn is_negative(self) -> boolReturns
trueifselfis negative andfalseif the number is zero or positive.Examples
use Saturating; assert!; assert!;
impl Saturating<i8>
const MIN: Self = _;Returns the smallest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const MAX: Self = _;Returns the largest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const BITS: u32 = i8::BITS;Returns the size of this integer type in bits.
Examples
use Saturating; assert_eq!;const fn count_ones(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) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(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, 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, 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) -> 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) -> 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) -> 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) -> 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, 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) -> u32Returns the number of leading zeros in the binary representation of
self.Examples
use Saturating; let n = Saturating; assert_eq!;const fn abs(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) -> 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) -> boolReturns
trueifselfis positive andfalseif the number is zero or negative.Examples
use Saturating; assert!; assert!;const fn is_negative(self) -> boolReturns
trueifselfis negative andfalseif the number is zero or positive.Examples
use Saturating; assert!; assert!;
impl Saturating<isize>
const MIN: Self = _;Returns the smallest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const MAX: Self = _;Returns the largest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const BITS: u32 = isize::BITS;Returns the size of this integer type in bits.
Examples
use Saturating; assert_eq!;const fn count_ones(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) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(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, 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, 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) -> 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) -> 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) -> 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) -> 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, 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 MIN: Self = _;Returns the smallest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const MAX: Self = _;Returns the largest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const BITS: u32 = u128::BITS;Returns the size of this integer type in bits.
Examples
use Saturating; assert_eq!;const fn count_ones(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) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(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, 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, 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) -> 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) -> 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) -> 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) -> 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, 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) -> 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) -> boolReturns
trueif and only ifself == 2^kfor somek.Examples
use Saturating; assert!; assert!;
impl Saturating<u16>
const fn leading_zeros(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) -> boolReturns
trueif and only ifself == 2^kfor somek.Examples
use Saturating; assert!; assert!;
impl Saturating<u16>
const MIN: Self = _;Returns the smallest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const MAX: Self = _;Returns the largest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const BITS: u32 = u16::BITS;Returns the size of this integer type in bits.
Examples
use Saturating; assert_eq!;const fn count_ones(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) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(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, 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, 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) -> 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) -> 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) -> 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) -> 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, 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) -> 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) -> boolReturns
trueif and only ifself == 2^kfor somek.Examples
use Saturating; assert!; assert!;
impl Saturating<u32>
const MIN: Self = _;Returns the smallest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const MAX: Self = _;Returns the largest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const BITS: u32 = u32::BITS;Returns the size of this integer type in bits.
Examples
use Saturating; assert_eq!;const fn count_ones(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) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(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, 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, 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) -> 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) -> 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) -> 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) -> 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, 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 MIN: Self = _;Returns the smallest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const MAX: Self = _;Returns the largest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const BITS: u32 = u64::BITS;Returns the size of this integer type in bits.
Examples
use Saturating; assert_eq!;const fn count_ones(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) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(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, 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, 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) -> 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) -> 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) -> 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) -> 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, 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) -> 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) -> boolReturns
trueif and only ifself == 2^kfor somek.Examples
use Saturating; assert!; assert!;
impl Saturating<u8>
const MIN: Self = _;Returns the smallest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const MAX: Self = _;Returns the largest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const BITS: u32 = u8::BITS;Returns the size of this integer type in bits.
Examples
use Saturating; assert_eq!;const fn count_ones(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) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(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, 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, 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) -> 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) -> 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) -> 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) -> 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, 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) -> 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) -> boolReturns
trueif and only ifself == 2^kfor somek.Examples
use Saturating; assert!; assert!;
impl Saturating<usize>
const fn leading_zeros(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) -> boolReturns
trueif and only ifself == 2^kfor somek.Examples
use Saturating; assert!; assert!;
impl Saturating<usize>
const MIN: Self = _;Returns the smallest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const MAX: Self = _;Returns the largest value that can be represented by this integer type.
Examples
use Saturating; assert_eq!;const BITS: u32 = usize::BITS;Returns the size of this integer type in bits.
Examples
use Saturating; assert_eq!;const fn count_ones(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) -> u32Returns the number of zeros in the binary representation of
self.Examples
use Saturating; assert_eq!;const fn trailing_zeros(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, 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, 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) -> 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) -> 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) -> 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) -> 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, 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!;
Trait Implementations
impl Add for Saturating<i128>
type Output = Saturating<i128>;fn add(self, other: Saturating<i128>) -> Saturating<i128>
impl Add for Saturating<i16>
type Output = Saturating<i16>;fn add(self, other: Saturating<i16>) -> Saturating<i16>
impl Add for Saturating<i32>
type Output = Saturating<i32>;fn add(self, other: Saturating<i32>) -> Saturating<i32>
impl Add for Saturating<i64>
type Output = Saturating<i64>;fn add(self, other: Saturating<i64>) -> Saturating<i64>
impl Add for Saturating<i8>
type Output = Saturating<i8>;fn add(self, other: Saturating<i8>) -> Saturating<i8>
impl Add for Saturating<isize>
type Output = Saturating<isize>;fn add(self, other: Saturating<isize>) -> Saturating<isize>
impl Add for Saturating<u128>
type Output = Saturating<u128>;fn add(self, other: Saturating<u128>) -> Saturating<u128>
impl Add for Saturating<u16>
type Output = Saturating<u16>;fn add(self, other: Saturating<u16>) -> Saturating<u16>
impl Add for Saturating<u32>
type Output = Saturating<u32>;fn add(self, other: Saturating<u32>) -> Saturating<u32>
impl Add for Saturating<u64>
type Output = Saturating<u64>;fn add(self, other: Saturating<u64>) -> Saturating<u64>
impl Add for Saturating<u8>
type Output = Saturating<u8>;fn add(self, other: Saturating<u8>) -> Saturating<u8>
impl Add for Saturating<usize>
type Output = Saturating<usize>;fn add(self, other: Saturating<usize>) -> Saturating<usize>
impl Add<&Saturating<i128>> for Saturating<i128>
type Output = <Saturating<i128> as Add>::Output;fn add(self, other: &Saturating<i128>) -> <Saturating<i128> as Add<Saturating<i128>>>::Output
impl Add<&Saturating<i16>> for Saturating<i16>
type Output = <Saturating<i16> as Add>::Output;fn add(self, other: &Saturating<i16>) -> <Saturating<i16> as Add<Saturating<i16>>>::Output
impl Add<&Saturating<i32>> for Saturating<i32>
type Output = <Saturating<i32> as Add>::Output;fn add(self, other: &Saturating<i32>) -> <Saturating<i32> as Add<Saturating<i32>>>::Output
impl Add<&Saturating<i64>> for Saturating<i64>
type Output = <Saturating<i64> as Add>::Output;fn add(self, other: &Saturating<i64>) -> <Saturating<i64> as Add<Saturating<i64>>>::Output
impl Add<&Saturating<i8>> for Saturating<i8>
type Output = <Saturating<i8> as Add>::Output;fn add(self, other: &Saturating<i8>) -> <Saturating<i8> as Add<Saturating<i8>>>::Output
impl Add<&Saturating<isize>> for Saturating<isize>
type Output = <Saturating<isize> as Add>::Output;fn add(self, other: &Saturating<isize>) -> <Saturating<isize> as Add<Saturating<isize>>>::Output
impl Add<&Saturating<u128>> for Saturating<u128>
type Output = <Saturating<u128> as Add>::Output;fn add(self, other: &Saturating<u128>) -> <Saturating<u128> as Add<Saturating<u128>>>::Output
impl Add<&Saturating<u16>> for Saturating<u16>
type Output = <Saturating<u16> as Add>::Output;fn add(self, other: &Saturating<u16>) -> <Saturating<u16> as Add<Saturating<u16>>>::Output
impl Add<&Saturating<u32>> for Saturating<u32>
type Output = <Saturating<u32> as Add>::Output;fn add(self, other: &Saturating<u32>) -> <Saturating<u32> as Add<Saturating<u32>>>::Output
impl Add<&Saturating<u64>> for Saturating<u64>
type Output = <Saturating<u64> as Add>::Output;fn add(self, other: &Saturating<u64>) -> <Saturating<u64> as Add<Saturating<u64>>>::Output
impl Add<&Saturating<u8>> for Saturating<u8>
type Output = <Saturating<u8> as Add>::Output;fn add(self, other: &Saturating<u8>) -> <Saturating<u8> as Add<Saturating<u8>>>::Output
impl Add<&Saturating<usize>> for Saturating<usize>
type Output = <Saturating<usize> as Add>::Output;fn add(self, other: &Saturating<usize>) -> <Saturating<usize> as Add<Saturating<usize>>>::Output
impl AddAssign for Saturating<i128>
fn add_assign(&mut self, other: Saturating<i128>)
impl AddAssign for Saturating<i16>
fn add_assign(&mut self, other: Saturating<i16>)
impl AddAssign for Saturating<i32>
fn add_assign(&mut self, other: Saturating<i32>)
impl AddAssign for Saturating<i64>
fn add_assign(&mut self, other: Saturating<i64>)
impl AddAssign for Saturating<i8>
fn add_assign(&mut self, other: Saturating<i8>)
impl AddAssign for Saturating<isize>
fn add_assign(&mut self, other: Saturating<isize>)
impl AddAssign for Saturating<u128>
fn add_assign(&mut self, other: Saturating<u128>)
impl AddAssign for Saturating<u16>
fn add_assign(&mut self, other: Saturating<u16>)
impl AddAssign for Saturating<u32>
fn add_assign(&mut self, other: Saturating<u32>)
impl AddAssign for Saturating<u64>
fn add_assign(&mut self, other: Saturating<u64>)
impl AddAssign for Saturating<u8>
fn add_assign(&mut self, other: Saturating<u8>)
impl AddAssign for Saturating<usize>
fn add_assign(&mut self, other: Saturating<usize>)
impl AddAssign<&Saturating<i128>> for Saturating<i128>
fn add_assign(&mut self, other: &Saturating<i128>)
impl AddAssign<&Saturating<i16>> for Saturating<i16>
fn add_assign(&mut self, other: &Saturating<i16>)
impl AddAssign<&Saturating<i32>> for Saturating<i32>
fn add_assign(&mut self, other: &Saturating<i32>)
impl AddAssign<&Saturating<i64>> for Saturating<i64>
fn add_assign(&mut self, other: &Saturating<i64>)
impl AddAssign<&Saturating<i8>> for Saturating<i8>
fn add_assign(&mut self, other: &Saturating<i8>)
impl AddAssign<&Saturating<isize>> for Saturating<isize>
fn add_assign(&mut self, other: &Saturating<isize>)
impl AddAssign<&Saturating<u128>> for Saturating<u128>
fn add_assign(&mut self, other: &Saturating<u128>)
impl AddAssign<&Saturating<u16>> for Saturating<u16>
fn add_assign(&mut self, other: &Saturating<u16>)
impl AddAssign<&Saturating<u32>> for Saturating<u32>
fn add_assign(&mut self, other: &Saturating<u32>)
impl AddAssign<&Saturating<u64>> for Saturating<u64>
fn add_assign(&mut self, other: &Saturating<u64>)
impl AddAssign<&Saturating<u8>> for Saturating<u8>
fn add_assign(&mut self, other: &Saturating<u8>)
impl AddAssign<&Saturating<usize>> for Saturating<usize>
fn add_assign(&mut self, other: &Saturating<usize>)
impl AddAssign<&i128> for Saturating<i128>
fn add_assign(&mut self, other: &i128)
impl AddAssign<&i16> for Saturating<i16>
fn add_assign(&mut self, other: &i16)
impl AddAssign<&i32> for Saturating<i32>
fn add_assign(&mut self, other: &i32)
impl AddAssign<&i64> for Saturating<i64>
fn add_assign(&mut self, other: &i64)
impl AddAssign<&i8> for Saturating<i8>
fn add_assign(&mut self, other: &i8)
impl AddAssign<&isize> for Saturating<isize>
fn add_assign(&mut self, other: &isize)
impl AddAssign<&u128> for Saturating<u128>
fn add_assign(&mut self, other: &u128)
impl AddAssign<&u16> for Saturating<u16>
fn add_assign(&mut self, other: &u16)
impl AddAssign<&u32> for Saturating<u32>
fn add_assign(&mut self, other: &u32)
impl AddAssign<&u64> for Saturating<u64>
fn add_assign(&mut self, other: &u64)
impl AddAssign<&u8> for Saturating<u8>
fn add_assign(&mut self, other: &u8)
impl AddAssign<&usize> for Saturating<usize>
fn add_assign(&mut self, other: &usize)
impl AddAssign<i128> for Saturating<i128>
fn add_assign(&mut self, other: i128)
impl AddAssign<i16> for Saturating<i16>
fn add_assign(&mut self, other: i16)
impl AddAssign<i32> for Saturating<i32>
fn add_assign(&mut self, other: i32)
impl AddAssign<i64> for Saturating<i64>
fn add_assign(&mut self, other: i64)
impl AddAssign<i8> for Saturating<i8>
fn add_assign(&mut self, other: i8)
impl AddAssign<isize> for Saturating<isize>
fn add_assign(&mut self, other: isize)
impl AddAssign<u128> for Saturating<u128>
fn add_assign(&mut self, other: u128)
impl AddAssign<u16> for Saturating<u16>
fn add_assign(&mut self, other: u16)
impl AddAssign<u32> for Saturating<u32>
fn add_assign(&mut self, other: u32)
impl AddAssign<u64> for Saturating<u64>
fn add_assign(&mut self, other: u64)
impl AddAssign<u8> for Saturating<u8>
fn add_assign(&mut self, other: u8)
impl AddAssign<usize> for Saturating<usize>
fn add_assign(&mut self, other: usize)
impl BitAnd for Saturating<i128>
type Output = Saturating<i128>;fn bitand(self, other: Saturating<i128>) -> Saturating<i128>
impl BitAnd for Saturating<i16>
type Output = Saturating<i16>;fn bitand(self, other: Saturating<i16>) -> Saturating<i16>
impl BitAnd for Saturating<i32>
type Output = Saturating<i32>;fn bitand(self, other: Saturating<i32>) -> Saturating<i32>
impl BitAnd for Saturating<i64>
type Output = Saturating<i64>;fn bitand(self, other: Saturating<i64>) -> Saturating<i64>
impl BitAnd for Saturating<i8>
type Output = Saturating<i8>;fn bitand(self, other: Saturating<i8>) -> Saturating<i8>
impl BitAnd for Saturating<isize>
type Output = Saturating<isize>;fn bitand(self, other: Saturating<isize>) -> Saturating<isize>
impl BitAnd for Saturating<u128>
type Output = Saturating<u128>;fn bitand(self, other: Saturating<u128>) -> Saturating<u128>
impl BitAnd for Saturating<u16>
type Output = Saturating<u16>;fn bitand(self, other: Saturating<u16>) -> Saturating<u16>
impl BitAnd for Saturating<u32>
type Output = Saturating<u32>;fn bitand(self, other: Saturating<u32>) -> Saturating<u32>
impl BitAnd for Saturating<u64>
type Output = Saturating<u64>;fn bitand(self, other: Saturating<u64>) -> Saturating<u64>
impl BitAnd for Saturating<u8>
type Output = Saturating<u8>;fn bitand(self, other: Saturating<u8>) -> Saturating<u8>
impl BitAnd for Saturating<usize>
type Output = Saturating<usize>;fn bitand(self, other: Saturating<usize>) -> Saturating<usize>
impl BitAnd<&Saturating<i128>> for Saturating<i128>
type Output = <Saturating<i128> as BitAnd>::Output;fn bitand(self, other: &Saturating<i128>) -> <Saturating<i128> as BitAnd<Saturating<i128>>>::Output
impl BitAnd<&Saturating<i16>> for Saturating<i16>
type Output = <Saturating<i16> as BitAnd>::Output;fn bitand(self, other: &Saturating<i16>) -> <Saturating<i16> as BitAnd<Saturating<i16>>>::Output
impl BitAnd<&Saturating<i32>> for Saturating<i32>
type Output = <Saturating<i32> as BitAnd>::Output;fn bitand(self, other: &Saturating<i32>) -> <Saturating<i32> as BitAnd<Saturating<i32>>>::Output
impl BitAnd<&Saturating<i64>> for Saturating<i64>
type Output = <Saturating<i64> as BitAnd>::Output;fn bitand(self, other: &Saturating<i64>) -> <Saturating<i64> as BitAnd<Saturating<i64>>>::Output
impl BitAnd<&Saturating<i8>> for Saturating<i8>
type Output = <Saturating<i8> as BitAnd>::Output;fn bitand(self, other: &Saturating<i8>) -> <Saturating<i8> as BitAnd<Saturating<i8>>>::Output
impl BitAnd<&Saturating<isize>> for Saturating<isize>
type Output = <Saturating<isize> as BitAnd>::Output;fn bitand(self, other: &Saturating<isize>) -> <Saturating<isize> as BitAnd<Saturating<isize>>>::Output
impl BitAnd<&Saturating<u128>> for Saturating<u128>
type Output = <Saturating<u128> as BitAnd>::Output;fn bitand(self, other: &Saturating<u128>) -> <Saturating<u128> as BitAnd<Saturating<u128>>>::Output
impl BitAnd<&Saturating<u16>> for Saturating<u16>
type Output = <Saturating<u16> as BitAnd>::Output;fn bitand(self, other: &Saturating<u16>) -> <Saturating<u16> as BitAnd<Saturating<u16>>>::Output
impl BitAnd<&Saturating<u32>> for Saturating<u32>
type Output = <Saturating<u32> as BitAnd>::Output;fn bitand(self, other: &Saturating<u32>) -> <Saturating<u32> as BitAnd<Saturating<u32>>>::Output
impl BitAnd<&Saturating<u64>> for Saturating<u64>
type Output = <Saturating<u64> as BitAnd>::Output;fn bitand(self, other: &Saturating<u64>) -> <Saturating<u64> as BitAnd<Saturating<u64>>>::Output
impl BitAnd<&Saturating<u8>> for Saturating<u8>
type Output = <Saturating<u8> as BitAnd>::Output;fn bitand(self, other: &Saturating<u8>) -> <Saturating<u8> as BitAnd<Saturating<u8>>>::Output
impl BitAnd<&Saturating<usize>> for Saturating<usize>
type Output = <Saturating<usize> as BitAnd>::Output;fn bitand(self, other: &Saturating<usize>) -> <Saturating<usize> as BitAnd<Saturating<usize>>>::Output
impl BitAndAssign for Saturating<i128>
fn bitand_assign(&mut self, other: Saturating<i128>)
impl BitAndAssign for Saturating<i16>
fn bitand_assign(&mut self, other: Saturating<i16>)
impl BitAndAssign for Saturating<i32>
fn bitand_assign(&mut self, other: Saturating<i32>)
impl BitAndAssign for Saturating<i64>
fn bitand_assign(&mut self, other: Saturating<i64>)
impl BitAndAssign for Saturating<i8>
fn bitand_assign(&mut self, other: Saturating<i8>)
impl BitAndAssign for Saturating<isize>
fn bitand_assign(&mut self, other: Saturating<isize>)
impl BitAndAssign for Saturating<u128>
fn bitand_assign(&mut self, other: Saturating<u128>)
impl BitAndAssign for Saturating<u16>
fn bitand_assign(&mut self, other: Saturating<u16>)
impl BitAndAssign for Saturating<u32>
fn bitand_assign(&mut self, other: Saturating<u32>)
impl BitAndAssign for Saturating<u64>
fn bitand_assign(&mut self, other: Saturating<u64>)
impl BitAndAssign for Saturating<u8>
fn bitand_assign(&mut self, other: Saturating<u8>)
impl BitAndAssign for Saturating<usize>
fn bitand_assign(&mut self, other: Saturating<usize>)
impl BitAndAssign<&Saturating<i128>> for Saturating<i128>
fn bitand_assign(&mut self, other: &Saturating<i128>)
impl BitAndAssign<&Saturating<i16>> for Saturating<i16>
fn bitand_assign(&mut self, other: &Saturating<i16>)
impl BitAndAssign<&Saturating<i32>> for Saturating<i32>
fn bitand_assign(&mut self, other: &Saturating<i32>)
impl BitAndAssign<&Saturating<i64>> for Saturating<i64>
fn bitand_assign(&mut self, other: &Saturating<i64>)
impl BitAndAssign<&Saturating<i8>> for Saturating<i8>
fn bitand_assign(&mut self, other: &Saturating<i8>)
impl BitAndAssign<&Saturating<isize>> for Saturating<isize>
fn bitand_assign(&mut self, other: &Saturating<isize>)
impl BitAndAssign<&Saturating<u128>> for Saturating<u128>
fn bitand_assign(&mut self, other: &Saturating<u128>)
impl BitAndAssign<&Saturating<u16>> for Saturating<u16>
fn bitand_assign(&mut self, other: &Saturating<u16>)
impl BitAndAssign<&Saturating<u32>> for Saturating<u32>
fn bitand_assign(&mut self, other: &Saturating<u32>)
impl BitAndAssign<&Saturating<u64>> for Saturating<u64>
fn bitand_assign(&mut self, other: &Saturating<u64>)
impl BitAndAssign<&Saturating<u8>> for Saturating<u8>
fn bitand_assign(&mut self, other: &Saturating<u8>)
impl BitAndAssign<&Saturating<usize>> for Saturating<usize>
fn bitand_assign(&mut self, other: &Saturating<usize>)
impl BitAndAssign<&i128> for Saturating<i128>
fn bitand_assign(&mut self, other: &i128)
impl BitAndAssign<&i16> for Saturating<i16>
fn bitand_assign(&mut self, other: &i16)
impl BitAndAssign<&i32> for Saturating<i32>
fn bitand_assign(&mut self, other: &i32)
impl BitAndAssign<&i64> for Saturating<i64>
fn bitand_assign(&mut self, other: &i64)
impl BitAndAssign<&i8> for Saturating<i8>
fn bitand_assign(&mut self, other: &i8)
impl BitAndAssign<&isize> for Saturating<isize>
fn bitand_assign(&mut self, other: &isize)
impl BitAndAssign<&u128> for Saturating<u128>
fn bitand_assign(&mut self, other: &u128)
impl BitAndAssign<&u16> for Saturating<u16>
fn bitand_assign(&mut self, other: &u16)
impl BitAndAssign<&u32> for Saturating<u32>
fn bitand_assign(&mut self, other: &u32)
impl BitAndAssign<&u64> for Saturating<u64>
fn bitand_assign(&mut self, other: &u64)
impl BitAndAssign<&u8> for Saturating<u8>
fn bitand_assign(&mut self, other: &u8)
impl BitAndAssign<&usize> for Saturating<usize>
fn bitand_assign(&mut self, other: &usize)
impl BitAndAssign<i128> for Saturating<i128>
fn bitand_assign(&mut self, other: i128)
impl BitAndAssign<i16> for Saturating<i16>
fn bitand_assign(&mut self, other: i16)
impl BitAndAssign<i32> for Saturating<i32>
fn bitand_assign(&mut self, other: i32)
impl BitAndAssign<i64> for Saturating<i64>
fn bitand_assign(&mut self, other: i64)
impl BitAndAssign<i8> for Saturating<i8>
fn bitand_assign(&mut self, other: i8)
impl BitAndAssign<isize> for Saturating<isize>
fn bitand_assign(&mut self, other: isize)
impl BitAndAssign<u128> for Saturating<u128>
fn bitand_assign(&mut self, other: u128)
impl BitAndAssign<u16> for Saturating<u16>
fn bitand_assign(&mut self, other: u16)
impl BitAndAssign<u32> for Saturating<u32>
fn bitand_assign(&mut self, other: u32)
impl BitAndAssign<u64> for Saturating<u64>
fn bitand_assign(&mut self, other: u64)
impl BitAndAssign<u8> for Saturating<u8>
fn bitand_assign(&mut self, other: u8)
impl BitAndAssign<usize> for Saturating<usize>
fn bitand_assign(&mut self, other: usize)
impl BitOr for Saturating<i128>
type Output = Saturating<i128>;fn bitor(self, other: Saturating<i128>) -> Saturating<i128>
impl BitOr for Saturating<i16>
type Output = Saturating<i16>;fn bitor(self, other: Saturating<i16>) -> Saturating<i16>
impl BitOr for Saturating<i32>
type Output = Saturating<i32>;fn bitor(self, other: Saturating<i32>) -> Saturating<i32>
impl BitOr for Saturating<i64>
type Output = Saturating<i64>;fn bitor(self, other: Saturating<i64>) -> Saturating<i64>
impl BitOr for Saturating<i8>
type Output = Saturating<i8>;fn bitor(self, other: Saturating<i8>) -> Saturating<i8>
impl BitOr for Saturating<isize>
type Output = Saturating<isize>;fn bitor(self, other: Saturating<isize>) -> Saturating<isize>
impl BitOr for Saturating<u128>
type Output = Saturating<u128>;fn bitor(self, other: Saturating<u128>) -> Saturating<u128>
impl BitOr for Saturating<u16>
type Output = Saturating<u16>;fn bitor(self, other: Saturating<u16>) -> Saturating<u16>
impl BitOr for Saturating<u32>
type Output = Saturating<u32>;fn bitor(self, other: Saturating<u32>) -> Saturating<u32>
impl BitOr for Saturating<u64>
type Output = Saturating<u64>;fn bitor(self, other: Saturating<u64>) -> Saturating<u64>
impl BitOr for Saturating<u8>
type Output = Saturating<u8>;fn bitor(self, other: Saturating<u8>) -> Saturating<u8>
impl BitOr for Saturating<usize>
type Output = Saturating<usize>;fn bitor(self, other: Saturating<usize>) -> Saturating<usize>
impl BitOr<&Saturating<i128>> for Saturating<i128>
type Output = <Saturating<i128> as BitOr>::Output;fn bitor(self, other: &Saturating<i128>) -> <Saturating<i128> as BitOr<Saturating<i128>>>::Output
impl BitOr<&Saturating<i16>> for Saturating<i16>
type Output = <Saturating<i16> as BitOr>::Output;fn bitor(self, other: &Saturating<i16>) -> <Saturating<i16> as BitOr<Saturating<i16>>>::Output
impl BitOr<&Saturating<i32>> for Saturating<i32>
type Output = <Saturating<i32> as BitOr>::Output;fn bitor(self, other: &Saturating<i32>) -> <Saturating<i32> as BitOr<Saturating<i32>>>::Output
impl BitOr<&Saturating<i64>> for Saturating<i64>
type Output = <Saturating<i64> as BitOr>::Output;fn bitor(self, other: &Saturating<i64>) -> <Saturating<i64> as BitOr<Saturating<i64>>>::Output
impl BitOr<&Saturating<i8>> for Saturating<i8>
type Output = <Saturating<i8> as BitOr>::Output;fn bitor(self, other: &Saturating<i8>) -> <Saturating<i8> as BitOr<Saturating<i8>>>::Output
impl BitOr<&Saturating<isize>> for Saturating<isize>
type Output = <Saturating<isize> as BitOr>::Output;fn bitor(self, other: &Saturating<isize>) -> <Saturating<isize> as BitOr<Saturating<isize>>>::Output
impl BitOr<&Saturating<u128>> for Saturating<u128>
type Output = <Saturating<u128> as BitOr>::Output;fn bitor(self, other: &Saturating<u128>) -> <Saturating<u128> as BitOr<Saturating<u128>>>::Output
impl BitOr<&Saturating<u16>> for Saturating<u16>
type Output = <Saturating<u16> as BitOr>::Output;fn bitor(self, other: &Saturating<u16>) -> <Saturating<u16> as BitOr<Saturating<u16>>>::Output
impl BitOr<&Saturating<u32>> for Saturating<u32>
type Output = <Saturating<u32> as BitOr>::Output;fn bitor(self, other: &Saturating<u32>) -> <Saturating<u32> as BitOr<Saturating<u32>>>::Output
impl BitOr<&Saturating<u64>> for Saturating<u64>
type Output = <Saturating<u64> as BitOr>::Output;fn bitor(self, other: &Saturating<u64>) -> <Saturating<u64> as BitOr<Saturating<u64>>>::Output
impl BitOr<&Saturating<u8>> for Saturating<u8>
type Output = <Saturating<u8> as BitOr>::Output;fn bitor(self, other: &Saturating<u8>) -> <Saturating<u8> as BitOr<Saturating<u8>>>::Output
impl BitOr<&Saturating<usize>> for Saturating<usize>
type Output = <Saturating<usize> as BitOr>::Output;fn bitor(self, other: &Saturating<usize>) -> <Saturating<usize> as BitOr<Saturating<usize>>>::Output
impl BitOrAssign for Saturating<i128>
fn bitor_assign(&mut self, other: Saturating<i128>)
impl BitOrAssign for Saturating<i16>
fn bitor_assign(&mut self, other: Saturating<i16>)
impl BitOrAssign for Saturating<i32>
fn bitor_assign(&mut self, other: Saturating<i32>)
impl BitOrAssign for Saturating<i64>
fn bitor_assign(&mut self, other: Saturating<i64>)
impl BitOrAssign for Saturating<i8>
fn bitor_assign(&mut self, other: Saturating<i8>)
impl BitOrAssign for Saturating<isize>
fn bitor_assign(&mut self, other: Saturating<isize>)
impl BitOrAssign for Saturating<u128>
fn bitor_assign(&mut self, other: Saturating<u128>)
impl BitOrAssign for Saturating<u16>
fn bitor_assign(&mut self, other: Saturating<u16>)
impl BitOrAssign for Saturating<u32>
fn bitor_assign(&mut self, other: Saturating<u32>)
impl BitOrAssign for Saturating<u64>
fn bitor_assign(&mut self, other: Saturating<u64>)
impl BitOrAssign for Saturating<u8>
fn bitor_assign(&mut self, other: Saturating<u8>)
impl BitOrAssign for Saturating<usize>
fn bitor_assign(&mut self, other: Saturating<usize>)
impl BitOrAssign<&Saturating<i128>> for Saturating<i128>
fn bitor_assign(&mut self, other: &Saturating<i128>)
impl BitOrAssign<&Saturating<i16>> for Saturating<i16>
fn bitor_assign(&mut self, other: &Saturating<i16>)
impl BitOrAssign<&Saturating<i32>> for Saturating<i32>
fn bitor_assign(&mut self, other: &Saturating<i32>)
impl BitOrAssign<&Saturating<i64>> for Saturating<i64>
fn bitor_assign(&mut self, other: &Saturating<i64>)
impl BitOrAssign<&Saturating<i8>> for Saturating<i8>
fn bitor_assign(&mut self, other: &Saturating<i8>)
impl BitOrAssign<&Saturating<isize>> for Saturating<isize>
fn bitor_assign(&mut self, other: &Saturating<isize>)
impl BitOrAssign<&Saturating<u128>> for Saturating<u128>
fn bitor_assign(&mut self, other: &Saturating<u128>)
impl BitOrAssign<&Saturating<u16>> for Saturating<u16>
fn bitor_assign(&mut self, other: &Saturating<u16>)
impl BitOrAssign<&Saturating<u32>> for Saturating<u32>
fn bitor_assign(&mut self, other: &Saturating<u32>)
impl BitOrAssign<&Saturating<u64>> for Saturating<u64>
fn bitor_assign(&mut self, other: &Saturating<u64>)
impl BitOrAssign<&Saturating<u8>> for Saturating<u8>
fn bitor_assign(&mut self, other: &Saturating<u8>)
impl BitOrAssign<&Saturating<usize>> for Saturating<usize>
fn bitor_assign(&mut self, other: &Saturating<usize>)
impl BitOrAssign<&i128> for Saturating<i128>
fn bitor_assign(&mut self, other: &i128)
impl BitOrAssign<&i16> for Saturating<i16>
fn bitor_assign(&mut self, other: &i16)
impl BitOrAssign<&i32> for Saturating<i32>
fn bitor_assign(&mut self, other: &i32)
impl BitOrAssign<&i64> for Saturating<i64>
fn bitor_assign(&mut self, other: &i64)
impl BitOrAssign<&i8> for Saturating<i8>
fn bitor_assign(&mut self, other: &i8)
impl BitOrAssign<&isize> for Saturating<isize>
fn bitor_assign(&mut self, other: &isize)
impl BitOrAssign<&u128> for Saturating<u128>
fn bitor_assign(&mut self, other: &u128)
impl BitOrAssign<&u16> for Saturating<u16>
fn bitor_assign(&mut self, other: &u16)
impl BitOrAssign<&u32> for Saturating<u32>
fn bitor_assign(&mut self, other: &u32)
impl BitOrAssign<&u64> for Saturating<u64>
fn bitor_assign(&mut self, other: &u64)
impl BitOrAssign<&u8> for Saturating<u8>
fn bitor_assign(&mut self, other: &u8)
impl BitOrAssign<&usize> for Saturating<usize>
fn bitor_assign(&mut self, other: &usize)
impl BitOrAssign<i128> for Saturating<i128>
fn bitor_assign(&mut self, other: i128)
impl BitOrAssign<i16> for Saturating<i16>
fn bitor_assign(&mut self, other: i16)
impl BitOrAssign<i32> for Saturating<i32>
fn bitor_assign(&mut self, other: i32)
impl BitOrAssign<i64> for Saturating<i64>
fn bitor_assign(&mut self, other: i64)
impl BitOrAssign<i8> for Saturating<i8>
fn bitor_assign(&mut self, other: i8)
impl BitOrAssign<isize> for Saturating<isize>
fn bitor_assign(&mut self, other: isize)
impl BitOrAssign<u128> for Saturating<u128>
fn bitor_assign(&mut self, other: u128)
impl BitOrAssign<u16> for Saturating<u16>
fn bitor_assign(&mut self, other: u16)
impl BitOrAssign<u32> for Saturating<u32>
fn bitor_assign(&mut self, other: u32)
impl BitOrAssign<u64> for Saturating<u64>
fn bitor_assign(&mut self, other: u64)
impl BitOrAssign<u8> for Saturating<u8>
fn bitor_assign(&mut self, other: u8)
impl BitOrAssign<usize> for Saturating<usize>
fn bitor_assign(&mut self, other: usize)
impl BitXor for Saturating<i128>
type Output = Saturating<i128>;fn bitxor(self, other: Saturating<i128>) -> Saturating<i128>
impl BitXor for Saturating<i16>
type Output = Saturating<i16>;fn bitxor(self, other: Saturating<i16>) -> Saturating<i16>
impl BitXor for Saturating<i32>
type Output = Saturating<i32>;fn bitxor(self, other: Saturating<i32>) -> Saturating<i32>
impl BitXor for Saturating<i64>
type Output = Saturating<i64>;fn bitxor(self, other: Saturating<i64>) -> Saturating<i64>
impl BitXor for Saturating<i8>
type Output = Saturating<i8>;fn bitxor(self, other: Saturating<i8>) -> Saturating<i8>
impl BitXor for Saturating<isize>
type Output = Saturating<isize>;fn bitxor(self, other: Saturating<isize>) -> Saturating<isize>
impl BitXor for Saturating<u128>
type Output = Saturating<u128>;fn bitxor(self, other: Saturating<u128>) -> Saturating<u128>
impl BitXor for Saturating<u16>
type Output = Saturating<u16>;fn bitxor(self, other: Saturating<u16>) -> Saturating<u16>
impl BitXor for Saturating<u32>
type Output = Saturating<u32>;fn bitxor(self, other: Saturating<u32>) -> Saturating<u32>
impl BitXor for Saturating<u64>
type Output = Saturating<u64>;fn bitxor(self, other: Saturating<u64>) -> Saturating<u64>
impl BitXor for Saturating<u8>
type Output = Saturating<u8>;fn bitxor(self, other: Saturating<u8>) -> Saturating<u8>
impl BitXor for Saturating<usize>
type Output = Saturating<usize>;fn bitxor(self, other: Saturating<usize>) -> Saturating<usize>
impl BitXor<&Saturating<i128>> for Saturating<i128>
type Output = <Saturating<i128> as BitXor>::Output;fn bitxor(self, other: &Saturating<i128>) -> <Saturating<i128> as BitXor<Saturating<i128>>>::Output
impl BitXor<&Saturating<i16>> for Saturating<i16>
type Output = <Saturating<i16> as BitXor>::Output;fn bitxor(self, other: &Saturating<i16>) -> <Saturating<i16> as BitXor<Saturating<i16>>>::Output
impl BitXor<&Saturating<i32>> for Saturating<i32>
type Output = <Saturating<i32> as BitXor>::Output;fn bitxor(self, other: &Saturating<i32>) -> <Saturating<i32> as BitXor<Saturating<i32>>>::Output
impl BitXor<&Saturating<i64>> for Saturating<i64>
type Output = <Saturating<i64> as BitXor>::Output;fn bitxor(self, other: &Saturating<i64>) -> <Saturating<i64> as BitXor<Saturating<i64>>>::Output
impl BitXor<&Saturating<i8>> for Saturating<i8>
type Output = <Saturating<i8> as BitXor>::Output;fn bitxor(self, other: &Saturating<i8>) -> <Saturating<i8> as BitXor<Saturating<i8>>>::Output
impl BitXor<&Saturating<isize>> for Saturating<isize>
type Output = <Saturating<isize> as BitXor>::Output;fn bitxor(self, other: &Saturating<isize>) -> <Saturating<isize> as BitXor<Saturating<isize>>>::Output
impl BitXor<&Saturating<u128>> for Saturating<u128>
type Output = <Saturating<u128> as BitXor>::Output;fn bitxor(self, other: &Saturating<u128>) -> <Saturating<u128> as BitXor<Saturating<u128>>>::Output
impl BitXor<&Saturating<u16>> for Saturating<u16>
type Output = <Saturating<u16> as BitXor>::Output;fn bitxor(self, other: &Saturating<u16>) -> <Saturating<u16> as BitXor<Saturating<u16>>>::Output
impl BitXor<&Saturating<u32>> for Saturating<u32>
type Output = <Saturating<u32> as BitXor>::Output;fn bitxor(self, other: &Saturating<u32>) -> <Saturating<u32> as BitXor<Saturating<u32>>>::Output
impl BitXor<&Saturating<u64>> for Saturating<u64>
type Output = <Saturating<u64> as BitXor>::Output;fn bitxor(self, other: &Saturating<u64>) -> <Saturating<u64> as BitXor<Saturating<u64>>>::Output
impl BitXor<&Saturating<u8>> for Saturating<u8>
type Output = <Saturating<u8> as BitXor>::Output;fn bitxor(self, other: &Saturating<u8>) -> <Saturating<u8> as BitXor<Saturating<u8>>>::Output
impl BitXor<&Saturating<usize>> for Saturating<usize>
type Output = <Saturating<usize> as BitXor>::Output;fn bitxor(self, other: &Saturating<usize>) -> <Saturating<usize> as BitXor<Saturating<usize>>>::Output
impl BitXorAssign for Saturating<i128>
fn bitxor_assign(&mut self, other: Saturating<i128>)
impl BitXorAssign for Saturating<i16>
fn bitxor_assign(&mut self, other: Saturating<i16>)
impl BitXorAssign for Saturating<i32>
fn bitxor_assign(&mut self, other: Saturating<i32>)
impl BitXorAssign for Saturating<i64>
fn bitxor_assign(&mut self, other: Saturating<i64>)
impl BitXorAssign for Saturating<i8>
fn bitxor_assign(&mut self, other: Saturating<i8>)
impl BitXorAssign for Saturating<isize>
fn bitxor_assign(&mut self, other: Saturating<isize>)
impl BitXorAssign for Saturating<u128>
fn bitxor_assign(&mut self, other: Saturating<u128>)
impl BitXorAssign for Saturating<u16>
fn bitxor_assign(&mut self, other: Saturating<u16>)
impl BitXorAssign for Saturating<u32>
fn bitxor_assign(&mut self, other: Saturating<u32>)
impl BitXorAssign for Saturating<u64>
fn bitxor_assign(&mut self, other: Saturating<u64>)
impl BitXorAssign for Saturating<u8>
fn bitxor_assign(&mut self, other: Saturating<u8>)
impl BitXorAssign for Saturating<usize>
fn bitxor_assign(&mut self, other: Saturating<usize>)
impl BitXorAssign<&Saturating<i128>> for Saturating<i128>
fn bitxor_assign(&mut self, other: &Saturating<i128>)
impl BitXorAssign<&Saturating<i16>> for Saturating<i16>
fn bitxor_assign(&mut self, other: &Saturating<i16>)
impl BitXorAssign<&Saturating<i32>> for Saturating<i32>
fn bitxor_assign(&mut self, other: &Saturating<i32>)
impl BitXorAssign<&Saturating<i64>> for Saturating<i64>
fn bitxor_assign(&mut self, other: &Saturating<i64>)
impl BitXorAssign<&Saturating<i8>> for Saturating<i8>
fn bitxor_assign(&mut self, other: &Saturating<i8>)
impl BitXorAssign<&Saturating<isize>> for Saturating<isize>
fn bitxor_assign(&mut self, other: &Saturating<isize>)
impl BitXorAssign<&Saturating<u128>> for Saturating<u128>
fn bitxor_assign(&mut self, other: &Saturating<u128>)
impl BitXorAssign<&Saturating<u16>> for Saturating<u16>
fn bitxor_assign(&mut self, other: &Saturating<u16>)
impl BitXorAssign<&Saturating<u32>> for Saturating<u32>
fn bitxor_assign(&mut self, other: &Saturating<u32>)
impl BitXorAssign<&Saturating<u64>> for Saturating<u64>
fn bitxor_assign(&mut self, other: &Saturating<u64>)
impl BitXorAssign<&Saturating<u8>> for Saturating<u8>
fn bitxor_assign(&mut self, other: &Saturating<u8>)
impl BitXorAssign<&Saturating<usize>> for Saturating<usize>
fn bitxor_assign(&mut self, other: &Saturating<usize>)
impl BitXorAssign<&i128> for Saturating<i128>
fn bitxor_assign(&mut self, other: &i128)
impl BitXorAssign<&i16> for Saturating<i16>
fn bitxor_assign(&mut self, other: &i16)
impl BitXorAssign<&i32> for Saturating<i32>
fn bitxor_assign(&mut self, other: &i32)
impl BitXorAssign<&i64> for Saturating<i64>
fn bitxor_assign(&mut self, other: &i64)
impl BitXorAssign<&i8> for Saturating<i8>
fn bitxor_assign(&mut self, other: &i8)
impl BitXorAssign<&isize> for Saturating<isize>
fn bitxor_assign(&mut self, other: &isize)
impl BitXorAssign<&u128> for Saturating<u128>
fn bitxor_assign(&mut self, other: &u128)
impl BitXorAssign<&u16> for Saturating<u16>
fn bitxor_assign(&mut self, other: &u16)
impl BitXorAssign<&u32> for Saturating<u32>
fn bitxor_assign(&mut self, other: &u32)
impl BitXorAssign<&u64> for Saturating<u64>
fn bitxor_assign(&mut self, other: &u64)
impl BitXorAssign<&u8> for Saturating<u8>
fn bitxor_assign(&mut self, other: &u8)
impl BitXorAssign<&usize> for Saturating<usize>
fn bitxor_assign(&mut self, other: &usize)
impl BitXorAssign<i128> for Saturating<i128>
fn bitxor_assign(&mut self, other: i128)
impl BitXorAssign<i16> for Saturating<i16>
fn bitxor_assign(&mut self, other: i16)
impl BitXorAssign<i32> for Saturating<i32>
fn bitxor_assign(&mut self, other: i32)
impl BitXorAssign<i64> for Saturating<i64>
fn bitxor_assign(&mut self, other: i64)
impl BitXorAssign<i8> for Saturating<i8>
fn bitxor_assign(&mut self, other: i8)
impl BitXorAssign<isize> for Saturating<isize>
fn bitxor_assign(&mut self, other: isize)
impl BitXorAssign<u128> for Saturating<u128>
fn bitxor_assign(&mut self, other: u128)
impl BitXorAssign<u16> for Saturating<u16>
fn bitxor_assign(&mut self, other: u16)
impl BitXorAssign<u32> for Saturating<u32>
fn bitxor_assign(&mut self, other: u32)
impl BitXorAssign<u64> for Saturating<u64>
fn bitxor_assign(&mut self, other: u64)
impl BitXorAssign<u8> for Saturating<u8>
fn bitxor_assign(&mut self, other: u8)
impl BitXorAssign<usize> for Saturating<usize>
fn bitxor_assign(&mut self, other: usize)
impl Div for Saturating<i128>
type Output = Saturating<i128>;fn div(self, other: Saturating<i128>) -> Saturating<i128>
impl Div for Saturating<i16>
type Output = Saturating<i16>;fn div(self, other: Saturating<i16>) -> Saturating<i16>
impl Div for Saturating<i32>
type Output = Saturating<i32>;fn div(self, other: Saturating<i32>) -> Saturating<i32>
impl Div for Saturating<i64>
type Output = Saturating<i64>;fn div(self, other: Saturating<i64>) -> Saturating<i64>
impl Div for Saturating<i8>
type Output = Saturating<i8>;fn div(self, other: Saturating<i8>) -> Saturating<i8>
impl Div for Saturating<isize>
type Output = Saturating<isize>;fn div(self, other: Saturating<isize>) -> Saturating<isize>
impl Div for Saturating<u128>
type Output = Saturating<u128>;fn div(self, other: Saturating<u128>) -> Saturating<u128>
impl Div for Saturating<u16>
type Output = Saturating<u16>;fn div(self, other: Saturating<u16>) -> Saturating<u16>
impl Div for Saturating<u32>
type Output = Saturating<u32>;fn div(self, other: Saturating<u32>) -> Saturating<u32>
impl Div for Saturating<u64>
type Output = Saturating<u64>;fn div(self, other: Saturating<u64>) -> Saturating<u64>
impl Div for Saturating<u8>
type Output = Saturating<u8>;fn div(self, other: Saturating<u8>) -> Saturating<u8>
impl Div for Saturating<usize>
type Output = Saturating<usize>;fn div(self, other: Saturating<usize>) -> Saturating<usize>
impl Div<&Saturating<i128>> for Saturating<i128>
type Output = <Saturating<i128> as Div>::Output;fn div(self, other: &Saturating<i128>) -> <Saturating<i128> as Div<Saturating<i128>>>::Output
impl Div<&Saturating<i16>> for Saturating<i16>
type Output = <Saturating<i16> as Div>::Output;fn div(self, other: &Saturating<i16>) -> <Saturating<i16> as Div<Saturating<i16>>>::Output
impl Div<&Saturating<i32>> for Saturating<i32>
type Output = <Saturating<i32> as Div>::Output;fn div(self, other: &Saturating<i32>) -> <Saturating<i32> as Div<Saturating<i32>>>::Output
impl Div<&Saturating<i64>> for Saturating<i64>
type Output = <Saturating<i64> as Div>::Output;fn div(self, other: &Saturating<i64>) -> <Saturating<i64> as Div<Saturating<i64>>>::Output
impl Div<&Saturating<i8>> for Saturating<i8>
type Output = <Saturating<i8> as Div>::Output;fn div(self, other: &Saturating<i8>) -> <Saturating<i8> as Div<Saturating<i8>>>::Output
impl Div<&Saturating<isize>> for Saturating<isize>
type Output = <Saturating<isize> as Div>::Output;fn div(self, other: &Saturating<isize>) -> <Saturating<isize> as Div<Saturating<isize>>>::Output
impl Div<&Saturating<u128>> for Saturating<u128>
type Output = <Saturating<u128> as Div>::Output;fn div(self, other: &Saturating<u128>) -> <Saturating<u128> as Div<Saturating<u128>>>::Output
impl Div<&Saturating<u16>> for Saturating<u16>
type Output = <Saturating<u16> as Div>::Output;fn div(self, other: &Saturating<u16>) -> <Saturating<u16> as Div<Saturating<u16>>>::Output
impl Div<&Saturating<u32>> for Saturating<u32>
type Output = <Saturating<u32> as Div>::Output;fn div(self, other: &Saturating<u32>) -> <Saturating<u32> as Div<Saturating<u32>>>::Output
impl Div<&Saturating<u64>> for Saturating<u64>
type Output = <Saturating<u64> as Div>::Output;fn div(self, other: &Saturating<u64>) -> <Saturating<u64> as Div<Saturating<u64>>>::Output
impl Div<&Saturating<u8>> for Saturating<u8>
type Output = <Saturating<u8> as Div>::Output;fn div(self, other: &Saturating<u8>) -> <Saturating<u8> as Div<Saturating<u8>>>::Output
impl Div<&Saturating<usize>> for Saturating<usize>
type Output = <Saturating<usize> as Div>::Output;fn div(self, other: &Saturating<usize>) -> <Saturating<usize> as Div<Saturating<usize>>>::Output
impl DivAssign for Saturating<i128>
fn div_assign(&mut self, other: Saturating<i128>)
impl DivAssign for Saturating<i16>
fn div_assign(&mut self, other: Saturating<i16>)
impl DivAssign for Saturating<i32>
fn div_assign(&mut self, other: Saturating<i32>)
impl DivAssign for Saturating<i64>
fn div_assign(&mut self, other: Saturating<i64>)
impl DivAssign for Saturating<i8>
fn div_assign(&mut self, other: Saturating<i8>)
impl DivAssign for Saturating<isize>
fn div_assign(&mut self, other: Saturating<isize>)
impl DivAssign for Saturating<u128>
fn div_assign(&mut self, other: Saturating<u128>)
impl DivAssign for Saturating<u16>
fn div_assign(&mut self, other: Saturating<u16>)
impl DivAssign for Saturating<u32>
fn div_assign(&mut self, other: Saturating<u32>)
impl DivAssign for Saturating<u64>
fn div_assign(&mut self, other: Saturating<u64>)
impl DivAssign for Saturating<u8>
fn div_assign(&mut self, other: Saturating<u8>)
impl DivAssign for Saturating<usize>
fn div_assign(&mut self, other: Saturating<usize>)
impl DivAssign<&Saturating<i128>> for Saturating<i128>
fn div_assign(&mut self, other: &Saturating<i128>)
impl DivAssign<&Saturating<i16>> for Saturating<i16>
fn div_assign(&mut self, other: &Saturating<i16>)
impl DivAssign<&Saturating<i32>> for Saturating<i32>
fn div_assign(&mut self, other: &Saturating<i32>)
impl DivAssign<&Saturating<i64>> for Saturating<i64>
fn div_assign(&mut self, other: &Saturating<i64>)
impl DivAssign<&Saturating<i8>> for Saturating<i8>
fn div_assign(&mut self, other: &Saturating<i8>)
impl DivAssign<&Saturating<isize>> for Saturating<isize>
fn div_assign(&mut self, other: &Saturating<isize>)
impl DivAssign<&Saturating<u128>> for Saturating<u128>
fn div_assign(&mut self, other: &Saturating<u128>)
impl DivAssign<&Saturating<u16>> for Saturating<u16>
fn div_assign(&mut self, other: &Saturating<u16>)
impl DivAssign<&Saturating<u32>> for Saturating<u32>
fn div_assign(&mut self, other: &Saturating<u32>)
impl DivAssign<&Saturating<u64>> for Saturating<u64>
fn div_assign(&mut self, other: &Saturating<u64>)
impl DivAssign<&Saturating<u8>> for Saturating<u8>
fn div_assign(&mut self, other: &Saturating<u8>)
impl DivAssign<&Saturating<usize>> for Saturating<usize>
fn div_assign(&mut self, other: &Saturating<usize>)
impl DivAssign<&i128> for Saturating<i128>
fn div_assign(&mut self, other: &i128)
impl DivAssign<&i16> for Saturating<i16>
fn div_assign(&mut self, other: &i16)
impl DivAssign<&i32> for Saturating<i32>
fn div_assign(&mut self, other: &i32)
impl DivAssign<&i64> for Saturating<i64>
fn div_assign(&mut self, other: &i64)
impl DivAssign<&i8> for Saturating<i8>
fn div_assign(&mut self, other: &i8)
impl DivAssign<&isize> for Saturating<isize>
fn div_assign(&mut self, other: &isize)
impl DivAssign<&u128> for Saturating<u128>
fn div_assign(&mut self, other: &u128)
impl DivAssign<&u16> for Saturating<u16>
fn div_assign(&mut self, other: &u16)
impl DivAssign<&u32> for Saturating<u32>
fn div_assign(&mut self, other: &u32)
impl DivAssign<&u64> for Saturating<u64>
fn div_assign(&mut self, other: &u64)
impl DivAssign<&u8> for Saturating<u8>
fn div_assign(&mut self, other: &u8)
impl DivAssign<&usize> for Saturating<usize>
fn div_assign(&mut self, other: &usize)
impl DivAssign<i128> for Saturating<i128>
fn div_assign(&mut self, other: i128)
impl DivAssign<i16> for Saturating<i16>
fn div_assign(&mut self, other: i16)
impl DivAssign<i32> for Saturating<i32>
fn div_assign(&mut self, other: i32)
impl DivAssign<i64> for Saturating<i64>
fn div_assign(&mut self, other: i64)
impl DivAssign<i8> for Saturating<i8>
fn div_assign(&mut self, other: i8)
impl DivAssign<isize> for Saturating<isize>
fn div_assign(&mut self, other: isize)
impl DivAssign<u128> for Saturating<u128>
fn div_assign(&mut self, other: u128)
impl DivAssign<u16> for Saturating<u16>
fn div_assign(&mut self, other: u16)
impl DivAssign<u32> for Saturating<u32>
fn div_assign(&mut self, other: u32)
impl DivAssign<u64> for Saturating<u64>
fn div_assign(&mut self, other: u64)
impl DivAssign<u8> for Saturating<u8>
fn div_assign(&mut self, other: u8)
impl DivAssign<usize> for Saturating<usize>
fn div_assign(&mut self, other: usize)
impl Mul for Saturating<i128>
type Output = Saturating<i128>;fn mul(self, other: Saturating<i128>) -> Saturating<i128>
impl Mul for Saturating<i16>
type Output = Saturating<i16>;fn mul(self, other: Saturating<i16>) -> Saturating<i16>
impl Mul for Saturating<i32>
type Output = Saturating<i32>;fn mul(self, other: Saturating<i32>) -> Saturating<i32>
impl Mul for Saturating<i64>
type Output = Saturating<i64>;fn mul(self, other: Saturating<i64>) -> Saturating<i64>
impl Mul for Saturating<i8>
type Output = Saturating<i8>;fn mul(self, other: Saturating<i8>) -> Saturating<i8>
impl Mul for Saturating<isize>
type Output = Saturating<isize>;fn mul(self, other: Saturating<isize>) -> Saturating<isize>
impl Mul for Saturating<u128>
type Output = Saturating<u128>;fn mul(self, other: Saturating<u128>) -> Saturating<u128>
impl Mul for Saturating<u16>
type Output = Saturating<u16>;fn mul(self, other: Saturating<u16>) -> Saturating<u16>
impl Mul for Saturating<u32>
type Output = Saturating<u32>;fn mul(self, other: Saturating<u32>) -> Saturating<u32>
impl Mul for Saturating<u64>
type Output = Saturating<u64>;fn mul(self, other: Saturating<u64>) -> Saturating<u64>
impl Mul for Saturating<u8>
type Output = Saturating<u8>;fn mul(self, other: Saturating<u8>) -> Saturating<u8>
impl Mul for Saturating<usize>
type Output = Saturating<usize>;fn mul(self, other: Saturating<usize>) -> Saturating<usize>
impl Mul<&Saturating<i128>> for Saturating<i128>
type Output = <Saturating<i128> as Mul>::Output;fn mul(self, other: &Saturating<i128>) -> <Saturating<i128> as Mul<Saturating<i128>>>::Output
impl Mul<&Saturating<i16>> for Saturating<i16>
type Output = <Saturating<i16> as Mul>::Output;fn mul(self, other: &Saturating<i16>) -> <Saturating<i16> as Mul<Saturating<i16>>>::Output
impl Mul<&Saturating<i32>> for Saturating<i32>
type Output = <Saturating<i32> as Mul>::Output;fn mul(self, other: &Saturating<i32>) -> <Saturating<i32> as Mul<Saturating<i32>>>::Output
impl Mul<&Saturating<i64>> for Saturating<i64>
type Output = <Saturating<i64> as Mul>::Output;fn mul(self, other: &Saturating<i64>) -> <Saturating<i64> as Mul<Saturating<i64>>>::Output
impl Mul<&Saturating<i8>> for Saturating<i8>
type Output = <Saturating<i8> as Mul>::Output;fn mul(self, other: &Saturating<i8>) -> <Saturating<i8> as Mul<Saturating<i8>>>::Output
impl Mul<&Saturating<isize>> for Saturating<isize>
type Output = <Saturating<isize> as Mul>::Output;fn mul(self, other: &Saturating<isize>) -> <Saturating<isize> as Mul<Saturating<isize>>>::Output
impl Mul<&Saturating<u128>> for Saturating<u128>
type Output = <Saturating<u128> as Mul>::Output;fn mul(self, other: &Saturating<u128>) -> <Saturating<u128> as Mul<Saturating<u128>>>::Output
impl Mul<&Saturating<u16>> for Saturating<u16>
type Output = <Saturating<u16> as Mul>::Output;fn mul(self, other: &Saturating<u16>) -> <Saturating<u16> as Mul<Saturating<u16>>>::Output
impl Mul<&Saturating<u32>> for Saturating<u32>
type Output = <Saturating<u32> as Mul>::Output;fn mul(self, other: &Saturating<u32>) -> <Saturating<u32> as Mul<Saturating<u32>>>::Output
impl Mul<&Saturating<u64>> for Saturating<u64>
type Output = <Saturating<u64> as Mul>::Output;fn mul(self, other: &Saturating<u64>) -> <Saturating<u64> as Mul<Saturating<u64>>>::Output
impl Mul<&Saturating<u8>> for Saturating<u8>
type Output = <Saturating<u8> as Mul>::Output;fn mul(self, other: &Saturating<u8>) -> <Saturating<u8> as Mul<Saturating<u8>>>::Output
impl Mul<&Saturating<usize>> for Saturating<usize>
type Output = <Saturating<usize> as Mul>::Output;fn mul(self, other: &Saturating<usize>) -> <Saturating<usize> as Mul<Saturating<usize>>>::Output
impl MulAssign for Saturating<i128>
fn mul_assign(&mut self, other: Saturating<i128>)
impl MulAssign for Saturating<i16>
fn mul_assign(&mut self, other: Saturating<i16>)
impl MulAssign for Saturating<i32>
fn mul_assign(&mut self, other: Saturating<i32>)
impl MulAssign for Saturating<i64>
fn mul_assign(&mut self, other: Saturating<i64>)
impl MulAssign for Saturating<i8>
fn mul_assign(&mut self, other: Saturating<i8>)
impl MulAssign for Saturating<isize>
fn mul_assign(&mut self, other: Saturating<isize>)
impl MulAssign for Saturating<u128>
fn mul_assign(&mut self, other: Saturating<u128>)
impl MulAssign for Saturating<u16>
fn mul_assign(&mut self, other: Saturating<u16>)
impl MulAssign for Saturating<u32>
fn mul_assign(&mut self, other: Saturating<u32>)
impl MulAssign for Saturating<u64>
fn mul_assign(&mut self, other: Saturating<u64>)
impl MulAssign for Saturating<u8>
fn mul_assign(&mut self, other: Saturating<u8>)
impl MulAssign for Saturating<usize>
fn mul_assign(&mut self, other: Saturating<usize>)
impl MulAssign<&Saturating<i128>> for Saturating<i128>
fn mul_assign(&mut self, other: &Saturating<i128>)
impl MulAssign<&Saturating<i16>> for Saturating<i16>
fn mul_assign(&mut self, other: &Saturating<i16>)
impl MulAssign<&Saturating<i32>> for Saturating<i32>
fn mul_assign(&mut self, other: &Saturating<i32>)
impl MulAssign<&Saturating<i64>> for Saturating<i64>
fn mul_assign(&mut self, other: &Saturating<i64>)
impl MulAssign<&Saturating<i8>> for Saturating<i8>
fn mul_assign(&mut self, other: &Saturating<i8>)
impl MulAssign<&Saturating<isize>> for Saturating<isize>
fn mul_assign(&mut self, other: &Saturating<isize>)
impl MulAssign<&Saturating<u128>> for Saturating<u128>
fn mul_assign(&mut self, other: &Saturating<u128>)
impl MulAssign<&Saturating<u16>> for Saturating<u16>
fn mul_assign(&mut self, other: &Saturating<u16>)
impl MulAssign<&Saturating<u32>> for Saturating<u32>
fn mul_assign(&mut self, other: &Saturating<u32>)
impl MulAssign<&Saturating<u64>> for Saturating<u64>
fn mul_assign(&mut self, other: &Saturating<u64>)
impl MulAssign<&Saturating<u8>> for Saturating<u8>
fn mul_assign(&mut self, other: &Saturating<u8>)
impl MulAssign<&Saturating<usize>> for Saturating<usize>
fn mul_assign(&mut self, other: &Saturating<usize>)
impl MulAssign<&i128> for Saturating<i128>
fn mul_assign(&mut self, other: &i128)
impl MulAssign<&i16> for Saturating<i16>
fn mul_assign(&mut self, other: &i16)
impl MulAssign<&i32> for Saturating<i32>
fn mul_assign(&mut self, other: &i32)
impl MulAssign<&i64> for Saturating<i64>
fn mul_assign(&mut self, other: &i64)
impl MulAssign<&i8> for Saturating<i8>
fn mul_assign(&mut self, other: &i8)
impl MulAssign<&isize> for Saturating<isize>
fn mul_assign(&mut self, other: &isize)
impl MulAssign<&u128> for Saturating<u128>
fn mul_assign(&mut self, other: &u128)
impl MulAssign<&u16> for Saturating<u16>
fn mul_assign(&mut self, other: &u16)
impl MulAssign<&u32> for Saturating<u32>
fn mul_assign(&mut self, other: &u32)
impl MulAssign<&u64> for Saturating<u64>
fn mul_assign(&mut self, other: &u64)
impl MulAssign<&u8> for Saturating<u8>
fn mul_assign(&mut self, other: &u8)
impl MulAssign<&usize> for Saturating<usize>
fn mul_assign(&mut self, other: &usize)
impl MulAssign<i128> for Saturating<i128>
fn mul_assign(&mut self, other: i128)
impl MulAssign<i16> for Saturating<i16>
fn mul_assign(&mut self, other: i16)
impl MulAssign<i32> for Saturating<i32>
fn mul_assign(&mut self, other: i32)
impl MulAssign<i64> for Saturating<i64>
fn mul_assign(&mut self, other: i64)
impl MulAssign<i8> for Saturating<i8>
fn mul_assign(&mut self, other: i8)
impl MulAssign<isize> for Saturating<isize>
fn mul_assign(&mut self, other: isize)
impl MulAssign<u128> for Saturating<u128>
fn mul_assign(&mut self, other: u128)
impl MulAssign<u16> for Saturating<u16>
fn mul_assign(&mut self, other: u16)
impl MulAssign<u32> for Saturating<u32>
fn mul_assign(&mut self, other: u32)
impl MulAssign<u64> for Saturating<u64>
fn mul_assign(&mut self, other: u64)
impl MulAssign<u8> for Saturating<u8>
fn mul_assign(&mut self, other: u8)
impl MulAssign<usize> for Saturating<usize>
fn mul_assign(&mut self, other: usize)
impl Neg for Saturating<i128>
type Output = Saturating<i128>;fn neg(self) -> Self
impl Neg for Saturating<i16>
type Output = Saturating<i16>;fn neg(self) -> Self
impl Neg for Saturating<i32>
type Output = Saturating<i32>;fn neg(self) -> Self
impl Neg for Saturating<i64>
type Output = Saturating<i64>;fn neg(self) -> Self
impl Neg for Saturating<i8>
type Output = Saturating<i8>;fn neg(self) -> Self
impl Neg for Saturating<isize>
type Output = Saturating<isize>;fn neg(self) -> Self
impl Not for Saturating<i128>
type Output = Saturating<i128>;fn not(self) -> Saturating<i128>
impl Not for Saturating<i16>
type Output = Saturating<i16>;fn not(self) -> Saturating<i16>
impl Not for Saturating<i32>
type Output = Saturating<i32>;fn not(self) -> Saturating<i32>
impl Not for Saturating<i64>
type Output = Saturating<i64>;fn not(self) -> Saturating<i64>
impl Not for Saturating<i8>
type Output = Saturating<i8>;fn not(self) -> Saturating<i8>
impl Not for Saturating<isize>
type Output = Saturating<isize>;fn not(self) -> Saturating<isize>
impl Not for Saturating<u128>
type Output = Saturating<u128>;fn not(self) -> Saturating<u128>
impl Not for Saturating<u16>
type Output = Saturating<u16>;fn not(self) -> Saturating<u16>
impl Not for Saturating<u32>
type Output = Saturating<u32>;fn not(self) -> Saturating<u32>
impl Not for Saturating<u64>
type Output = Saturating<u64>;fn not(self) -> Saturating<u64>
impl Not for Saturating<u8>
type Output = Saturating<u8>;fn not(self) -> Saturating<u8>
impl Not for Saturating<usize>
type Output = Saturating<usize>;fn not(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>
type Output = Saturating<i128>;fn rem(self, other: Saturating<i128>) -> Saturating<i128>
impl Rem for Saturating<i16>
type Output = Saturating<i16>;fn rem(self, other: Saturating<i16>) -> Saturating<i16>
impl Rem for Saturating<i32>
type Output = Saturating<i32>;fn rem(self, other: Saturating<i32>) -> Saturating<i32>
impl Rem for Saturating<i64>
type Output = Saturating<i64>;fn rem(self, other: Saturating<i64>) -> Saturating<i64>
impl Rem for Saturating<i8>
type Output = Saturating<i8>;fn rem(self, other: Saturating<i8>) -> Saturating<i8>
impl Rem for Saturating<isize>
type Output = Saturating<isize>;fn rem(self, other: Saturating<isize>) -> Saturating<isize>
impl Rem for Saturating<u128>
type Output = Saturating<u128>;fn rem(self, other: Saturating<u128>) -> Saturating<u128>
impl Rem for Saturating<u16>
type Output = Saturating<u16>;fn rem(self, other: Saturating<u16>) -> Saturating<u16>
impl Rem for Saturating<u32>
type Output = Saturating<u32>;fn rem(self, other: Saturating<u32>) -> Saturating<u32>
impl Rem for Saturating<u64>
type Output = Saturating<u64>;fn rem(self, other: Saturating<u64>) -> Saturating<u64>
impl Rem for Saturating<u8>
type Output = Saturating<u8>;fn rem(self, other: Saturating<u8>) -> Saturating<u8>
impl Rem for Saturating<usize>
type Output = Saturating<usize>;fn rem(self, other: Saturating<usize>) -> Saturating<usize>
impl Rem<&Saturating<i128>> for Saturating<i128>
type Output = <Saturating<i128> as Rem>::Output;fn rem(self, other: &Saturating<i128>) -> <Saturating<i128> as Rem<Saturating<i128>>>::Output
impl Rem<&Saturating<i16>> for Saturating<i16>
type Output = <Saturating<i16> as Rem>::Output;fn rem(self, other: &Saturating<i16>) -> <Saturating<i16> as Rem<Saturating<i16>>>::Output
impl Rem<&Saturating<i32>> for Saturating<i32>
type Output = <Saturating<i32> as Rem>::Output;fn rem(self, other: &Saturating<i32>) -> <Saturating<i32> as Rem<Saturating<i32>>>::Output
impl Rem<&Saturating<i64>> for Saturating<i64>
type Output = <Saturating<i64> as Rem>::Output;fn rem(self, other: &Saturating<i64>) -> <Saturating<i64> as Rem<Saturating<i64>>>::Output
impl Rem<&Saturating<i8>> for Saturating<i8>
type Output = <Saturating<i8> as Rem>::Output;fn rem(self, other: &Saturating<i8>) -> <Saturating<i8> as Rem<Saturating<i8>>>::Output
impl Rem<&Saturating<isize>> for Saturating<isize>
type Output = <Saturating<isize> as Rem>::Output;fn rem(self, other: &Saturating<isize>) -> <Saturating<isize> as Rem<Saturating<isize>>>::Output
impl Rem<&Saturating<u128>> for Saturating<u128>
type Output = <Saturating<u128> as Rem>::Output;fn rem(self, other: &Saturating<u128>) -> <Saturating<u128> as Rem<Saturating<u128>>>::Output
impl Rem<&Saturating<u16>> for Saturating<u16>
type Output = <Saturating<u16> as Rem>::Output;fn rem(self, other: &Saturating<u16>) -> <Saturating<u16> as Rem<Saturating<u16>>>::Output
impl Rem<&Saturating<u32>> for Saturating<u32>
type Output = <Saturating<u32> as Rem>::Output;fn rem(self, other: &Saturating<u32>) -> <Saturating<u32> as Rem<Saturating<u32>>>::Output
impl Rem<&Saturating<u64>> for Saturating<u64>
type Output = <Saturating<u64> as Rem>::Output;fn rem(self, other: &Saturating<u64>) -> <Saturating<u64> as Rem<Saturating<u64>>>::Output
impl Rem<&Saturating<u8>> for Saturating<u8>
type Output = <Saturating<u8> as Rem>::Output;fn rem(self, other: &Saturating<u8>) -> <Saturating<u8> as Rem<Saturating<u8>>>::Output
impl Rem<&Saturating<usize>> for Saturating<usize>
type Output = <Saturating<usize> as Rem>::Output;fn rem(self, other: &Saturating<usize>) -> <Saturating<usize> as Rem<Saturating<usize>>>::Output
impl RemAssign for Saturating<i128>
fn rem_assign(&mut self, other: Saturating<i128>)
impl RemAssign for Saturating<i16>
fn rem_assign(&mut self, other: Saturating<i16>)
impl RemAssign for Saturating<i32>
fn rem_assign(&mut self, other: Saturating<i32>)
impl RemAssign for Saturating<i64>
fn rem_assign(&mut self, other: Saturating<i64>)
impl RemAssign for Saturating<i8>
fn rem_assign(&mut self, other: Saturating<i8>)
impl RemAssign for Saturating<isize>
fn rem_assign(&mut self, other: Saturating<isize>)
impl RemAssign for Saturating<u128>
fn rem_assign(&mut self, other: Saturating<u128>)
impl RemAssign for Saturating<u16>
fn rem_assign(&mut self, other: Saturating<u16>)
impl RemAssign for Saturating<u32>
fn rem_assign(&mut self, other: Saturating<u32>)
impl RemAssign for Saturating<u64>
fn rem_assign(&mut self, other: Saturating<u64>)
impl RemAssign for Saturating<u8>
fn rem_assign(&mut self, other: Saturating<u8>)
impl RemAssign for Saturating<usize>
fn rem_assign(&mut self, other: Saturating<usize>)
impl RemAssign<&Saturating<i128>> for Saturating<i128>
fn rem_assign(&mut self, other: &Saturating<i128>)
impl RemAssign<&Saturating<i16>> for Saturating<i16>
fn rem_assign(&mut self, other: &Saturating<i16>)
impl RemAssign<&Saturating<i32>> for Saturating<i32>
fn rem_assign(&mut self, other: &Saturating<i32>)
impl RemAssign<&Saturating<i64>> for Saturating<i64>
fn rem_assign(&mut self, other: &Saturating<i64>)
impl RemAssign<&Saturating<i8>> for Saturating<i8>
fn rem_assign(&mut self, other: &Saturating<i8>)
impl RemAssign<&Saturating<isize>> for Saturating<isize>
fn rem_assign(&mut self, other: &Saturating<isize>)
impl RemAssign<&Saturating<u128>> for Saturating<u128>
fn rem_assign(&mut self, other: &Saturating<u128>)
impl RemAssign<&Saturating<u16>> for Saturating<u16>
fn rem_assign(&mut self, other: &Saturating<u16>)
impl RemAssign<&Saturating<u32>> for Saturating<u32>
fn rem_assign(&mut self, other: &Saturating<u32>)
impl RemAssign<&Saturating<u64>> for Saturating<u64>
fn rem_assign(&mut self, other: &Saturating<u64>)
impl RemAssign<&Saturating<u8>> for Saturating<u8>
fn rem_assign(&mut self, other: &Saturating<u8>)
impl RemAssign<&Saturating<usize>> for Saturating<usize>
fn rem_assign(&mut self, other: &Saturating<usize>)
impl RemAssign<&i128> for Saturating<i128>
fn rem_assign(&mut self, other: &i128)
impl RemAssign<&i16> for Saturating<i16>
fn rem_assign(&mut self, other: &i16)
impl RemAssign<&i32> for Saturating<i32>
fn rem_assign(&mut self, other: &i32)
impl RemAssign<&i64> for Saturating<i64>
fn rem_assign(&mut self, other: &i64)
impl RemAssign<&i8> for Saturating<i8>
fn rem_assign(&mut self, other: &i8)
impl RemAssign<&isize> for Saturating<isize>
fn rem_assign(&mut self, other: &isize)
impl RemAssign<&u128> for Saturating<u128>
fn rem_assign(&mut self, other: &u128)
impl RemAssign<&u16> for Saturating<u16>
fn rem_assign(&mut self, other: &u16)
impl RemAssign<&u32> for Saturating<u32>
fn rem_assign(&mut self, other: &u32)
impl RemAssign<&u64> for Saturating<u64>
fn rem_assign(&mut self, other: &u64)
impl RemAssign<&u8> for Saturating<u8>
fn rem_assign(&mut self, other: &u8)
impl RemAssign<&usize> for Saturating<usize>
fn rem_assign(&mut self, other: &usize)
impl RemAssign<i128> for Saturating<i128>
fn rem_assign(&mut self, other: i128)
impl RemAssign<i16> for Saturating<i16>
fn rem_assign(&mut self, other: i16)
impl RemAssign<i32> for Saturating<i32>
fn rem_assign(&mut self, other: i32)
impl RemAssign<i64> for Saturating<i64>
fn rem_assign(&mut self, other: i64)
impl RemAssign<i8> for Saturating<i8>
fn rem_assign(&mut self, other: i8)
impl RemAssign<isize> for Saturating<isize>
fn rem_assign(&mut self, other: isize)
impl RemAssign<u128> for Saturating<u128>
fn rem_assign(&mut self, other: u128)
impl RemAssign<u16> for Saturating<u16>
fn rem_assign(&mut self, other: u16)
impl RemAssign<u32> for Saturating<u32>
fn rem_assign(&mut self, other: u32)
impl RemAssign<u64> for Saturating<u64>
fn rem_assign(&mut self, other: u64)
impl RemAssign<u8> for Saturating<u8>
fn rem_assign(&mut self, other: u8)
impl RemAssign<usize> for Saturating<usize>
fn rem_assign(&mut self, other: usize)
impl Sub for Saturating<i128>
type Output = Saturating<i128>;fn sub(self, other: Saturating<i128>) -> Saturating<i128>
impl Sub for Saturating<i16>
type Output = Saturating<i16>;fn sub(self, other: Saturating<i16>) -> Saturating<i16>
impl Sub for Saturating<i32>
type Output = Saturating<i32>;fn sub(self, other: Saturating<i32>) -> Saturating<i32>
impl Sub for Saturating<i64>
type Output = Saturating<i64>;fn sub(self, other: Saturating<i64>) -> Saturating<i64>
impl Sub for Saturating<i8>
type Output = Saturating<i8>;fn sub(self, other: Saturating<i8>) -> Saturating<i8>
impl Sub for Saturating<isize>
type Output = Saturating<isize>;fn sub(self, other: Saturating<isize>) -> Saturating<isize>
impl Sub for Saturating<u128>
type Output = Saturating<u128>;fn sub(self, other: Saturating<u128>) -> Saturating<u128>
impl Sub for Saturating<u16>
type Output = Saturating<u16>;fn sub(self, other: Saturating<u16>) -> Saturating<u16>
impl Sub for Saturating<u32>
type Output = Saturating<u32>;fn sub(self, other: Saturating<u32>) -> Saturating<u32>
impl Sub for Saturating<u64>
type Output = Saturating<u64>;fn sub(self, other: Saturating<u64>) -> Saturating<u64>
impl Sub for Saturating<u8>
type Output = Saturating<u8>;fn sub(self, other: Saturating<u8>) -> Saturating<u8>
impl Sub for Saturating<usize>
type Output = Saturating<usize>;fn sub(self, other: Saturating<usize>) -> Saturating<usize>
impl Sub<&Saturating<i128>> for Saturating<i128>
type Output = <Saturating<i128> as Sub>::Output;fn sub(self, other: &Saturating<i128>) -> <Saturating<i128> as Sub<Saturating<i128>>>::Output
impl Sub<&Saturating<i16>> for Saturating<i16>
type Output = <Saturating<i16> as Sub>::Output;fn sub(self, other: &Saturating<i16>) -> <Saturating<i16> as Sub<Saturating<i16>>>::Output
impl Sub<&Saturating<i32>> for Saturating<i32>
type Output = <Saturating<i32> as Sub>::Output;fn sub(self, other: &Saturating<i32>) -> <Saturating<i32> as Sub<Saturating<i32>>>::Output
impl Sub<&Saturating<i64>> for Saturating<i64>
type Output = <Saturating<i64> as Sub>::Output;fn sub(self, other: &Saturating<i64>) -> <Saturating<i64> as Sub<Saturating<i64>>>::Output
impl Sub<&Saturating<i8>> for Saturating<i8>
type Output = <Saturating<i8> as Sub>::Output;fn sub(self, other: &Saturating<i8>) -> <Saturating<i8> as Sub<Saturating<i8>>>::Output
impl Sub<&Saturating<isize>> for Saturating<isize>
type Output = <Saturating<isize> as Sub>::Output;fn sub(self, other: &Saturating<isize>) -> <Saturating<isize> as Sub<Saturating<isize>>>::Output
impl Sub<&Saturating<u128>> for Saturating<u128>
type Output = <Saturating<u128> as Sub>::Output;fn sub(self, other: &Saturating<u128>) -> <Saturating<u128> as Sub<Saturating<u128>>>::Output
impl Sub<&Saturating<u16>> for Saturating<u16>
type Output = <Saturating<u16> as Sub>::Output;fn sub(self, other: &Saturating<u16>) -> <Saturating<u16> as Sub<Saturating<u16>>>::Output
impl Sub<&Saturating<u32>> for Saturating<u32>
type Output = <Saturating<u32> as Sub>::Output;fn sub(self, other: &Saturating<u32>) -> <Saturating<u32> as Sub<Saturating<u32>>>::Output
impl Sub<&Saturating<u64>> for Saturating<u64>
type Output = <Saturating<u64> as Sub>::Output;fn sub(self, other: &Saturating<u64>) -> <Saturating<u64> as Sub<Saturating<u64>>>::Output
impl Sub<&Saturating<u8>> for Saturating<u8>
type Output = <Saturating<u8> as Sub>::Output;fn sub(self, other: &Saturating<u8>) -> <Saturating<u8> as Sub<Saturating<u8>>>::Output
impl Sub<&Saturating<usize>> for Saturating<usize>
type Output = <Saturating<usize> as Sub>::Output;fn sub(self, other: &Saturating<usize>) -> <Saturating<usize> as Sub<Saturating<usize>>>::Output
impl SubAssign for Saturating<i128>
fn sub_assign(&mut self, other: Saturating<i128>)
impl SubAssign for Saturating<i16>
fn sub_assign(&mut self, other: Saturating<i16>)
impl SubAssign for Saturating<i32>
fn sub_assign(&mut self, other: Saturating<i32>)
impl SubAssign for Saturating<i64>
fn sub_assign(&mut self, other: Saturating<i64>)
impl SubAssign for Saturating<i8>
fn sub_assign(&mut self, other: Saturating<i8>)
impl SubAssign for Saturating<isize>
fn sub_assign(&mut self, other: Saturating<isize>)
impl SubAssign for Saturating<u128>
fn sub_assign(&mut self, other: Saturating<u128>)
impl SubAssign for Saturating<u16>
fn sub_assign(&mut self, other: Saturating<u16>)
impl SubAssign for Saturating<u32>
fn sub_assign(&mut self, other: Saturating<u32>)
impl SubAssign for Saturating<u64>
fn sub_assign(&mut self, other: Saturating<u64>)
impl SubAssign for Saturating<u8>
fn sub_assign(&mut self, other: Saturating<u8>)
impl SubAssign for Saturating<usize>
fn sub_assign(&mut self, other: Saturating<usize>)
impl SubAssign<&Saturating<i128>> for Saturating<i128>
fn sub_assign(&mut self, other: &Saturating<i128>)
impl SubAssign<&Saturating<i16>> for Saturating<i16>
fn sub_assign(&mut self, other: &Saturating<i16>)
impl SubAssign<&Saturating<i32>> for Saturating<i32>
fn sub_assign(&mut self, other: &Saturating<i32>)
impl SubAssign<&Saturating<i64>> for Saturating<i64>
fn sub_assign(&mut self, other: &Saturating<i64>)
impl SubAssign<&Saturating<i8>> for Saturating<i8>
fn sub_assign(&mut self, other: &Saturating<i8>)
impl SubAssign<&Saturating<isize>> for Saturating<isize>
fn sub_assign(&mut self, other: &Saturating<isize>)
impl SubAssign<&Saturating<u128>> for Saturating<u128>
fn sub_assign(&mut self, other: &Saturating<u128>)
impl SubAssign<&Saturating<u16>> for Saturating<u16>
fn sub_assign(&mut self, other: &Saturating<u16>)
impl SubAssign<&Saturating<u32>> for Saturating<u32>
fn sub_assign(&mut self, other: &Saturating<u32>)
impl SubAssign<&Saturating<u64>> for Saturating<u64>
fn sub_assign(&mut self, other: &Saturating<u64>)
impl SubAssign<&Saturating<u8>> for Saturating<u8>
fn sub_assign(&mut self, other: &Saturating<u8>)
impl SubAssign<&Saturating<usize>> for Saturating<usize>
fn sub_assign(&mut self, other: &Saturating<usize>)
impl SubAssign<&i128> for Saturating<i128>
fn sub_assign(&mut self, other: &i128)
impl SubAssign<&i16> for Saturating<i16>
fn sub_assign(&mut self, other: &i16)
impl SubAssign<&i32> for Saturating<i32>
fn sub_assign(&mut self, other: &i32)
impl SubAssign<&i64> for Saturating<i64>
fn sub_assign(&mut self, other: &i64)
impl SubAssign<&i8> for Saturating<i8>
fn sub_assign(&mut self, other: &i8)
impl SubAssign<&isize> for Saturating<isize>
fn sub_assign(&mut self, other: &isize)
impl SubAssign<&u128> for Saturating<u128>
fn sub_assign(&mut self, other: &u128)
impl SubAssign<&u16> for Saturating<u16>
fn sub_assign(&mut self, other: &u16)
impl SubAssign<&u32> for Saturating<u32>
fn sub_assign(&mut self, other: &u32)
impl SubAssign<&u64> for Saturating<u64>
fn sub_assign(&mut self, other: &u64)
impl SubAssign<&u8> for Saturating<u8>
fn sub_assign(&mut self, other: &u8)
impl SubAssign<&usize> for Saturating<usize>
fn sub_assign(&mut self, other: &usize)
impl SubAssign<i128> for Saturating<i128>
fn sub_assign(&mut self, other: i128)
impl SubAssign<i16> for Saturating<i16>
fn sub_assign(&mut self, other: i16)
impl SubAssign<i32> for Saturating<i32>
fn sub_assign(&mut self, other: i32)
impl SubAssign<i64> for Saturating<i64>
fn sub_assign(&mut self, other: i64)
impl SubAssign<i8> for Saturating<i8>
fn sub_assign(&mut self, other: i8)
impl SubAssign<isize> for Saturating<isize>
fn sub_assign(&mut self, other: isize)
impl SubAssign<u128> for Saturating<u128>
fn sub_assign(&mut self, other: u128)
impl SubAssign<u16> for Saturating<u16>
fn sub_assign(&mut self, other: u16)
impl SubAssign<u32> for Saturating<u32>
fn sub_assign(&mut self, other: u32)
impl SubAssign<u64> for Saturating<u64>
fn sub_assign(&mut self, other: u64)
impl SubAssign<u8> for Saturating<u8>
fn sub_assign(&mut self, other: u8)
impl SubAssign<usize> for Saturating<usize>
fn sub_assign(&mut self, other: 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<&'a Saturating<u128>> for Saturating<u128>
fn product<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Product<&'a Saturating<u16>> for Saturating<u16>
fn product<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Product<&'a Saturating<u32>> for Saturating<u32>
fn product<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Product<&'a Saturating<u64>> for Saturating<u64>
fn product<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Product<&'a Saturating<u8>> for Saturating<u8>
fn product<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Product<&'a Saturating<usize>> for Saturating<usize>
fn product<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Sum<&'a Saturating<u128>> for Saturating<u128>
fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Sum<&'a Saturating<u16>> for Saturating<u16>
fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Sum<&'a Saturating<u32>> for Saturating<u32>
fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Sum<&'a Saturating<u64>> for Saturating<u64>
fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Sum<&'a Saturating<u8>> for Saturating<u8>
fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<'a> Sum<&'a Saturating<usize>> for Saturating<usize>
fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self
impl<T: Binary> Binary for Saturating<T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T: Clone> Clone for Saturating<T>
fn clone(&self) -> Saturating<T>
impl<T: Copy> Copy for Saturating<T>
impl<T: Debug> Debug for Saturating<T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T: Default> Default for Saturating<T>
fn default() -> Saturating<T>
impl<T: Display> Display for Saturating<T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T: Eq> Eq for Saturating<T>
fn assert_fields_are_eq(&self)
impl<T: Hash> Hash for Saturating<T>
fn hash<__H: Hasher>(&self, state: &mut __H)
impl<T: LowerHex> LowerHex for Saturating<T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T: Octal> Octal for Saturating<T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T: Ord> Ord for Saturating<T>
fn cmp(&self, other: &Saturating<T>) -> Ordering
impl<T: PartialEq> PartialEq for Saturating<T>
fn eq(&self, other: &Saturating<T>) -> bool
impl<T: PartialEq> StructuralPartialEq for Saturating<T>
impl<T: PartialOrd> PartialOrd for Saturating<T>
fn partial_cmp(&self, other: &Saturating<T>) -> Option<Ordering>
impl<T: UpperHex> UpperHex for Saturating<T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Auto Trait Implementations
impl<T> Freeze for Saturating<T>
where
T: Freeze,
impl<T> RefUnwindSafe for Saturating<T>
where
T: RefUnwindSafe,
impl<T> Send for Saturating<T>
where
T: Send,
impl<T> Sync for Saturating<T>
where
T: Sync,
impl<T> Unpin for Saturating<T>
where
T: Unpin,
impl<T> UnsafeUnpin for Saturating<T>
where
T: UnsafeUnpin,
impl<T> UnwindSafe for Saturating<T>
where
T: UnwindSafe,
Blanket Implementations
impl<T> Any for Saturating<T>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Saturating<T>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Saturating<T>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for Saturating<T>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for Saturating<T>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Printable for Saturating<T>
where
T: Copy + Debug,
impl<T> SizeHint for Saturating<T>
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for Saturating<T>
impl<T, U> Into<U> for Saturating<T>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Saturating<T>
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for Saturating<T>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>