Primitive Type isize
Expand description
The pointer-sized signed integer type.
The size of this primitive is how many bytes it takes to reference any location in memory. For example, on a 32 bit target, this is 4 bytes and on a 64 bit target, this is 8 bytes.
Implementations§
Source§impl isize
impl isize
1.43.0 · Sourcepub const MIN: Self = -9_223_372_036_854_775_808isize
pub const MIN: Self = -9_223_372_036_854_775_808isize
The smallest value that can be represented by this integer type (−263 on 64-bit targets).
§Examples
1.43.0 · Sourcepub const MAX: Self = 9_223_372_036_854_775_807isize
pub const MAX: Self = 9_223_372_036_854_775_807isize
The largest value that can be represented by this integer type (263 − 1 on 64-bit targets).
§Examples
1.0.0 (const: 1.32.0) · Sourcepub const fn from_le(x: Self) -> Self
pub const fn from_le(x: Self) -> Self
Converts 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
1.0.0 (const: 1.32.0) · Sourcepub const fn to_le(self) -> Self
pub const fn to_le(self) -> Self
Converts self to little endian from the target’s endianness.
On little endian this is a no-op. On big endian the bytes are swapped.
§Examples
1.0.0 (const: 1.32.0) · Sourcepub const fn wrapping_sub(self, rhs: Self) -> Self
pub const fn wrapping_sub(self, rhs: Self) -> Self
Wrapping (modular) subtraction. Computes self - rhs, wrapping around at the
boundary of the type.
§Examples
1.2.0 (const: 1.32.0) · Sourcepub const fn wrapping_neg(self) -> Self
pub const fn wrapping_neg(self) -> Self
Wrapping (modular) negation. Computes -self, wrapping around at the boundary
of the type.
The only case where such wrapping can occur is when one negates MIN on a signed type (where MIN
is the negative minimal value for the type); this is a positive value that is too large to represent
in the type. In such a case, this function returns MIN itself.
§Examples
1.13.0 (const: 1.32.0) · Sourcepub const fn wrapping_abs(self) -> Self
pub const fn wrapping_abs(self) -> Self
Wrapping (modular) absolute value. Computes self.abs(), wrapping around at
the boundary of the type.
The only case where such wrapping can occur is when one takes the absolute value of the negative
minimal value for the type; this is a positive value that is too large to represent in the type. In
such a case, this function returns MIN itself.
§Examples
1.51.0 (const: 1.51.0) · Sourcepub const fn unsigned_abs(self) -> usize
pub const fn unsigned_abs(self) -> usize
Computes the absolute value of self without any wrapping
or panicking.
§Examples
1.0.0 (const: 1.32.0) · Sourcepub const fn is_negative(self) -> bool
pub const fn is_negative(self) -> bool
Returns true if self is negative and false if the number is zero or
positive.
§Examples
1.32.0 (const: 1.44.0) · Sourcepub const fn to_le_bytes(self) -> [u8; 8]
pub const fn to_le_bytes(self) -> [u8; 8]
Returns the memory representation of this integer as a byte array in little-endian byte order.
Note: This function returns an array of length 2, 4 or 8 bytes depending on the target pointer size.
§Examples
1.32.0 (const: 1.44.0) · Sourcepub const fn to_ne_bytes(self) -> [u8; 8]
pub const fn to_ne_bytes(self) -> [u8; 8]
Returns the memory representation of this integer as a byte array in native byte order.
As the target platform’s native endianness is used, portable code
should use to_be_bytes or to_le_bytes, as appropriate,
instead.
Note: This function returns an array of length 2, 4 or 8 bytes depending on the target pointer size.
§Examples
1.32.0 (const: 1.44.0) · Sourcepub const fn from_le_bytes(bytes: [u8; 8]) -> Self
pub const fn from_le_bytes(bytes: [u8; 8]) -> Self
Creates an integer value from its representation as a byte array in little endian.
Note: This function takes an array of length 2, 4 or 8 bytes depending on the target pointer size.
§Examples
let value = isize::from_le_bytes([0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]);
assert_eq!(value, 0x1234567890123456);When starting from a slice rather than an array, fallible conversion APIs can be used:
1.32.0 (const: 1.44.0) · Sourcepub const fn from_ne_bytes(bytes: [u8; 8]) -> Self
pub const fn from_ne_bytes(bytes: [u8; 8]) -> Self
Creates an integer value from its memory representation as a byte array in native endianness.
As the target platform’s native endianness is used, portable code
likely wants to use from_be_bytes or from_le_bytes, as
appropriate instead.
Note: This function takes an array of length 2, 4 or 8 bytes depending on the target pointer size.
§Examples
let value = isize::from_ne_bytes(if cfg!(target_endian = "big") {
[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]
} else {
[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]
});
assert_eq!(value, 0x1234567890123456);When starting from a slice rather than an array, fallible conversion APIs can be used:
Trait Implementations§
1.22.0 (const: unstable) · Source§impl AddAssign<&isize> for isize
impl AddAssign<&isize> for isize
Source§fn add_assign(&mut self, other: &isize)
fn add_assign(&mut self, other: &isize)
+= operation. Read more1.8.0 (const: unstable) · Source§impl AddAssign for isize
impl AddAssign for isize
Source§fn add_assign(&mut self, other: isize)
fn add_assign(&mut self, other: isize)
+= operation. Read more1.22.0 (const: unstable) · Source§impl BitAndAssign<&isize> for isize
impl BitAndAssign<&isize> for isize
Source§fn bitand_assign(&mut self, other: &isize)
fn bitand_assign(&mut self, other: &isize)
&= operation. Read more1.8.0 (const: unstable) · Source§impl BitAndAssign for isize
impl BitAndAssign for isize
Source§fn bitand_assign(&mut self, other: isize)
fn bitand_assign(&mut self, other: isize)
&= operation. Read more1.22.0 (const: unstable) · Source§impl BitOrAssign<&isize> for isize
impl BitOrAssign<&isize> for isize
Source§fn bitor_assign(&mut self, other: &isize)
fn bitor_assign(&mut self, other: &isize)
|= operation. Read more1.8.0 (const: unstable) · Source§impl BitOrAssign for isize
impl BitOrAssign for isize
Source§fn bitor_assign(&mut self, other: isize)
fn bitor_assign(&mut self, other: isize)
|= operation. Read more1.22.0 (const: unstable) · Source§impl BitXorAssign<&isize> for isize
impl BitXorAssign<&isize> for isize
Source§fn bitxor_assign(&mut self, other: &isize)
fn bitxor_assign(&mut self, other: &isize)
^= operation. Read more1.8.0 (const: unstable) · Source§impl BitXorAssign for isize
impl BitXorAssign for isize
Source§fn bitxor_assign(&mut self, other: isize)
fn bitxor_assign(&mut self, other: isize)
^= operation. Read more1.0.0 (const: unstable) · Source§impl Div for isize
This operation rounds towards zero, truncating any
fractional part of the exact result.
impl Div for isize
This operation rounds towards zero, truncating any fractional part of the exact result.
§Panics
This operation will panic if other == 0 or the division results in overflow.
1.22.0 (const: unstable) · Source§impl DivAssign<&isize> for isize
impl DivAssign<&isize> for isize
Source§fn div_assign(&mut self, other: &isize)
fn div_assign(&mut self, other: &isize)
/= operation. Read more1.8.0 (const: unstable) · Source§impl DivAssign for isize
impl DivAssign for isize
Source§fn div_assign(&mut self, other: isize)
fn div_assign(&mut self, other: isize)
/= operation. Read more1.22.0 (const: unstable) · Source§impl MulAssign<&isize> for isize
impl MulAssign<&isize> for isize
Source§fn mul_assign(&mut self, other: &isize)
fn mul_assign(&mut self, other: &isize)
*= operation. Read more1.8.0 (const: unstable) · Source§impl MulAssign for isize
impl MulAssign for isize
Source§fn mul_assign(&mut self, other: isize)
fn mul_assign(&mut self, other: isize)
*= operation. Read more1.0.0 (const: unstable) · Source§impl Ord for isize
impl Ord for isize
1.0.0 (const: unstable) · Source§impl PartialOrd for isize
impl PartialOrd for isize
1.0.0 (const: unstable) · Source§impl Rem for isize
This operation satisfies n % d == n - (n / d) * d. The
result has the same sign as the left operand.
impl Rem for isize
This operation satisfies n % d == n - (n / d) * d. The
result has the same sign as the left operand.
§Panics
This operation will panic if other == 0 or if self / other results in overflow.
1.22.0 (const: unstable) · Source§impl RemAssign<&isize> for isize
impl RemAssign<&isize> for isize
Source§fn rem_assign(&mut self, other: &isize)
fn rem_assign(&mut self, other: &isize)
%= operation. Read more1.8.0 (const: unstable) · Source§impl RemAssign for isize
impl RemAssign for isize
Source§fn rem_assign(&mut self, other: isize)
fn rem_assign(&mut self, other: isize)
%= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&i128> for isize
impl ShlAssign<&i128> for isize
Source§fn shl_assign(&mut self, other: &i128)
fn shl_assign(&mut self, other: &i128)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&i16> for isize
impl ShlAssign<&i16> for isize
Source§fn shl_assign(&mut self, other: &i16)
fn shl_assign(&mut self, other: &i16)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&i32> for isize
impl ShlAssign<&i32> for isize
Source§fn shl_assign(&mut self, other: &i32)
fn shl_assign(&mut self, other: &i32)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&i64> for isize
impl ShlAssign<&i64> for isize
Source§fn shl_assign(&mut self, other: &i64)
fn shl_assign(&mut self, other: &i64)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&i8> for isize
impl ShlAssign<&i8> for isize
Source§fn shl_assign(&mut self, other: &i8)
fn shl_assign(&mut self, other: &i8)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&isize> for i128
impl ShlAssign<&isize> for i128
Source§fn shl_assign(&mut self, other: &isize)
fn shl_assign(&mut self, other: &isize)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&isize> for i16
impl ShlAssign<&isize> for i16
Source§fn shl_assign(&mut self, other: &isize)
fn shl_assign(&mut self, other: &isize)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&isize> for i32
impl ShlAssign<&isize> for i32
Source§fn shl_assign(&mut self, other: &isize)
fn shl_assign(&mut self, other: &isize)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&isize> for i64
impl ShlAssign<&isize> for i64
Source§fn shl_assign(&mut self, other: &isize)
fn shl_assign(&mut self, other: &isize)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&isize> for i8
impl ShlAssign<&isize> for i8
Source§fn shl_assign(&mut self, other: &isize)
fn shl_assign(&mut self, other: &isize)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&isize> for isize
impl ShlAssign<&isize> for isize
Source§fn shl_assign(&mut self, other: &isize)
fn shl_assign(&mut self, other: &isize)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&isize> for u128
impl ShlAssign<&isize> for u128
Source§fn shl_assign(&mut self, other: &isize)
fn shl_assign(&mut self, other: &isize)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&isize> for u16
impl ShlAssign<&isize> for u16
Source§fn shl_assign(&mut self, other: &isize)
fn shl_assign(&mut self, other: &isize)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&isize> for u32
impl ShlAssign<&isize> for u32
Source§fn shl_assign(&mut self, other: &isize)
fn shl_assign(&mut self, other: &isize)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&isize> for u64
impl ShlAssign<&isize> for u64
Source§fn shl_assign(&mut self, other: &isize)
fn shl_assign(&mut self, other: &isize)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&isize> for u8
impl ShlAssign<&isize> for u8
Source§fn shl_assign(&mut self, other: &isize)
fn shl_assign(&mut self, other: &isize)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&isize> for usize
impl ShlAssign<&isize> for usize
Source§fn shl_assign(&mut self, other: &isize)
fn shl_assign(&mut self, other: &isize)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u128> for isize
impl ShlAssign<&u128> for isize
Source§fn shl_assign(&mut self, other: &u128)
fn shl_assign(&mut self, other: &u128)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u16> for isize
impl ShlAssign<&u16> for isize
Source§fn shl_assign(&mut self, other: &u16)
fn shl_assign(&mut self, other: &u16)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u32> for isize
impl ShlAssign<&u32> for isize
Source§fn shl_assign(&mut self, other: &u32)
fn shl_assign(&mut self, other: &u32)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u64> for isize
impl ShlAssign<&u64> for isize
Source§fn shl_assign(&mut self, other: &u64)
fn shl_assign(&mut self, other: &u64)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u8> for isize
impl ShlAssign<&u8> for isize
Source§fn shl_assign(&mut self, other: &u8)
fn shl_assign(&mut self, other: &u8)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&usize> for isize
impl ShlAssign<&usize> for isize
Source§fn shl_assign(&mut self, other: &usize)
fn shl_assign(&mut self, other: &usize)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<i128> for isize
impl ShlAssign<i128> for isize
Source§fn shl_assign(&mut self, other: i128)
fn shl_assign(&mut self, other: i128)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<i16> for isize
impl ShlAssign<i16> for isize
Source§fn shl_assign(&mut self, other: i16)
fn shl_assign(&mut self, other: i16)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<i32> for isize
impl ShlAssign<i32> for isize
Source§fn shl_assign(&mut self, other: i32)
fn shl_assign(&mut self, other: i32)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<i64> for isize
impl ShlAssign<i64> for isize
Source§fn shl_assign(&mut self, other: i64)
fn shl_assign(&mut self, other: i64)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<i8> for isize
impl ShlAssign<i8> for isize
Source§fn shl_assign(&mut self, other: i8)
fn shl_assign(&mut self, other: i8)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<isize> for i128
impl ShlAssign<isize> for i128
Source§fn shl_assign(&mut self, other: isize)
fn shl_assign(&mut self, other: isize)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<isize> for i16
impl ShlAssign<isize> for i16
Source§fn shl_assign(&mut self, other: isize)
fn shl_assign(&mut self, other: isize)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<isize> for i32
impl ShlAssign<isize> for i32
Source§fn shl_assign(&mut self, other: isize)
fn shl_assign(&mut self, other: isize)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<isize> for i64
impl ShlAssign<isize> for i64
Source§fn shl_assign(&mut self, other: isize)
fn shl_assign(&mut self, other: isize)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<isize> for i8
impl ShlAssign<isize> for i8
Source§fn shl_assign(&mut self, other: isize)
fn shl_assign(&mut self, other: isize)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<isize> for u128
impl ShlAssign<isize> for u128
Source§fn shl_assign(&mut self, other: isize)
fn shl_assign(&mut self, other: isize)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<isize> for u16
impl ShlAssign<isize> for u16
Source§fn shl_assign(&mut self, other: isize)
fn shl_assign(&mut self, other: isize)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<isize> for u32
impl ShlAssign<isize> for u32
Source§fn shl_assign(&mut self, other: isize)
fn shl_assign(&mut self, other: isize)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<isize> for u64
impl ShlAssign<isize> for u64
Source§fn shl_assign(&mut self, other: isize)
fn shl_assign(&mut self, other: isize)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<isize> for u8
impl ShlAssign<isize> for u8
Source§fn shl_assign(&mut self, other: isize)
fn shl_assign(&mut self, other: isize)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<isize> for usize
impl ShlAssign<isize> for usize
Source§fn shl_assign(&mut self, other: isize)
fn shl_assign(&mut self, other: isize)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<u128> for isize
impl ShlAssign<u128> for isize
Source§fn shl_assign(&mut self, other: u128)
fn shl_assign(&mut self, other: u128)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<u16> for isize
impl ShlAssign<u16> for isize
Source§fn shl_assign(&mut self, other: u16)
fn shl_assign(&mut self, other: u16)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<u32> for isize
impl ShlAssign<u32> for isize
Source§fn shl_assign(&mut self, other: u32)
fn shl_assign(&mut self, other: u32)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<u64> for isize
impl ShlAssign<u64> for isize
Source§fn shl_assign(&mut self, other: u64)
fn shl_assign(&mut self, other: u64)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<u8> for isize
impl ShlAssign<u8> for isize
Source§fn shl_assign(&mut self, other: u8)
fn shl_assign(&mut self, other: u8)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<usize> for isize
impl ShlAssign<usize> for isize
Source§fn shl_assign(&mut self, other: usize)
fn shl_assign(&mut self, other: usize)
<<= operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign for isize
impl ShlAssign for isize
Source§fn shl_assign(&mut self, other: isize)
fn shl_assign(&mut self, other: isize)
<<= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&i128> for isize
impl ShrAssign<&i128> for isize
Source§fn shr_assign(&mut self, other: &i128)
fn shr_assign(&mut self, other: &i128)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&i16> for isize
impl ShrAssign<&i16> for isize
Source§fn shr_assign(&mut self, other: &i16)
fn shr_assign(&mut self, other: &i16)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&i32> for isize
impl ShrAssign<&i32> for isize
Source§fn shr_assign(&mut self, other: &i32)
fn shr_assign(&mut self, other: &i32)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&i64> for isize
impl ShrAssign<&i64> for isize
Source§fn shr_assign(&mut self, other: &i64)
fn shr_assign(&mut self, other: &i64)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&i8> for isize
impl ShrAssign<&i8> for isize
Source§fn shr_assign(&mut self, other: &i8)
fn shr_assign(&mut self, other: &i8)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&isize> for i128
impl ShrAssign<&isize> for i128
Source§fn shr_assign(&mut self, other: &isize)
fn shr_assign(&mut self, other: &isize)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&isize> for i16
impl ShrAssign<&isize> for i16
Source§fn shr_assign(&mut self, other: &isize)
fn shr_assign(&mut self, other: &isize)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&isize> for i32
impl ShrAssign<&isize> for i32
Source§fn shr_assign(&mut self, other: &isize)
fn shr_assign(&mut self, other: &isize)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&isize> for i64
impl ShrAssign<&isize> for i64
Source§fn shr_assign(&mut self, other: &isize)
fn shr_assign(&mut self, other: &isize)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&isize> for i8
impl ShrAssign<&isize> for i8
Source§fn shr_assign(&mut self, other: &isize)
fn shr_assign(&mut self, other: &isize)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&isize> for isize
impl ShrAssign<&isize> for isize
Source§fn shr_assign(&mut self, other: &isize)
fn shr_assign(&mut self, other: &isize)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&isize> for u128
impl ShrAssign<&isize> for u128
Source§fn shr_assign(&mut self, other: &isize)
fn shr_assign(&mut self, other: &isize)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&isize> for u16
impl ShrAssign<&isize> for u16
Source§fn shr_assign(&mut self, other: &isize)
fn shr_assign(&mut self, other: &isize)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&isize> for u32
impl ShrAssign<&isize> for u32
Source§fn shr_assign(&mut self, other: &isize)
fn shr_assign(&mut self, other: &isize)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&isize> for u64
impl ShrAssign<&isize> for u64
Source§fn shr_assign(&mut self, other: &isize)
fn shr_assign(&mut self, other: &isize)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&isize> for u8
impl ShrAssign<&isize> for u8
Source§fn shr_assign(&mut self, other: &isize)
fn shr_assign(&mut self, other: &isize)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&isize> for usize
impl ShrAssign<&isize> for usize
Source§fn shr_assign(&mut self, other: &isize)
fn shr_assign(&mut self, other: &isize)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u128> for isize
impl ShrAssign<&u128> for isize
Source§fn shr_assign(&mut self, other: &u128)
fn shr_assign(&mut self, other: &u128)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u16> for isize
impl ShrAssign<&u16> for isize
Source§fn shr_assign(&mut self, other: &u16)
fn shr_assign(&mut self, other: &u16)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u32> for isize
impl ShrAssign<&u32> for isize
Source§fn shr_assign(&mut self, other: &u32)
fn shr_assign(&mut self, other: &u32)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u64> for isize
impl ShrAssign<&u64> for isize
Source§fn shr_assign(&mut self, other: &u64)
fn shr_assign(&mut self, other: &u64)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u8> for isize
impl ShrAssign<&u8> for isize
Source§fn shr_assign(&mut self, other: &u8)
fn shr_assign(&mut self, other: &u8)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&usize> for isize
impl ShrAssign<&usize> for isize
Source§fn shr_assign(&mut self, other: &usize)
fn shr_assign(&mut self, other: &usize)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<i128> for isize
impl ShrAssign<i128> for isize
Source§fn shr_assign(&mut self, other: i128)
fn shr_assign(&mut self, other: i128)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<i16> for isize
impl ShrAssign<i16> for isize
Source§fn shr_assign(&mut self, other: i16)
fn shr_assign(&mut self, other: i16)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<i32> for isize
impl ShrAssign<i32> for isize
Source§fn shr_assign(&mut self, other: i32)
fn shr_assign(&mut self, other: i32)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<i64> for isize
impl ShrAssign<i64> for isize
Source§fn shr_assign(&mut self, other: i64)
fn shr_assign(&mut self, other: i64)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<i8> for isize
impl ShrAssign<i8> for isize
Source§fn shr_assign(&mut self, other: i8)
fn shr_assign(&mut self, other: i8)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<isize> for i128
impl ShrAssign<isize> for i128
Source§fn shr_assign(&mut self, other: isize)
fn shr_assign(&mut self, other: isize)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<isize> for i16
impl ShrAssign<isize> for i16
Source§fn shr_assign(&mut self, other: isize)
fn shr_assign(&mut self, other: isize)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<isize> for i32
impl ShrAssign<isize> for i32
Source§fn shr_assign(&mut self, other: isize)
fn shr_assign(&mut self, other: isize)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<isize> for i64
impl ShrAssign<isize> for i64
Source§fn shr_assign(&mut self, other: isize)
fn shr_assign(&mut self, other: isize)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<isize> for i8
impl ShrAssign<isize> for i8
Source§fn shr_assign(&mut self, other: isize)
fn shr_assign(&mut self, other: isize)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<isize> for u128
impl ShrAssign<isize> for u128
Source§fn shr_assign(&mut self, other: isize)
fn shr_assign(&mut self, other: isize)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<isize> for u16
impl ShrAssign<isize> for u16
Source§fn shr_assign(&mut self, other: isize)
fn shr_assign(&mut self, other: isize)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<isize> for u32
impl ShrAssign<isize> for u32
Source§fn shr_assign(&mut self, other: isize)
fn shr_assign(&mut self, other: isize)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<isize> for u64
impl ShrAssign<isize> for u64
Source§fn shr_assign(&mut self, other: isize)
fn shr_assign(&mut self, other: isize)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<isize> for u8
impl ShrAssign<isize> for u8
Source§fn shr_assign(&mut self, other: isize)
fn shr_assign(&mut self, other: isize)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<isize> for usize
impl ShrAssign<isize> for usize
Source§fn shr_assign(&mut self, other: isize)
fn shr_assign(&mut self, other: isize)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<u128> for isize
impl ShrAssign<u128> for isize
Source§fn shr_assign(&mut self, other: u128)
fn shr_assign(&mut self, other: u128)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<u16> for isize
impl ShrAssign<u16> for isize
Source§fn shr_assign(&mut self, other: u16)
fn shr_assign(&mut self, other: u16)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<u32> for isize
impl ShrAssign<u32> for isize
Source§fn shr_assign(&mut self, other: u32)
fn shr_assign(&mut self, other: u32)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<u64> for isize
impl ShrAssign<u64> for isize
Source§fn shr_assign(&mut self, other: u64)
fn shr_assign(&mut self, other: u64)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<u8> for isize
impl ShrAssign<u8> for isize
Source§fn shr_assign(&mut self, other: u8)
fn shr_assign(&mut self, other: u8)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<usize> for isize
impl ShrAssign<usize> for isize
Source§fn shr_assign(&mut self, other: usize)
fn shr_assign(&mut self, other: usize)
>>= operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign for isize
impl ShrAssign for isize
Source§fn shr_assign(&mut self, other: isize)
fn shr_assign(&mut self, other: isize)
>>= operation. Read more1.22.0 (const: unstable) · Source§impl SubAssign<&isize> for isize
impl SubAssign<&isize> for isize
Source§fn sub_assign(&mut self, other: &isize)
fn sub_assign(&mut self, other: &isize)
-= operation. Read more1.8.0 (const: unstable) · Source§impl SubAssign for isize
impl SubAssign for isize
Source§fn sub_assign(&mut self, other: isize)
fn sub_assign(&mut self, other: isize)
-= operation. Read more