Primitive Type u16
Expand description
The 16-bit unsigned integer type.
Implementations§
Source§impl u16
impl u16
1.43.0 · Sourcepub const MAX: Self = 65_535u16
pub const MAX: Self = 65_535u16
The largest value that can be represented by this integer type (216 − 1).
§Examples
1.0.0 (const: 1.32.0) · Sourcepub const fn count_ones(self) -> u32
pub const fn count_ones(self) -> u32
Returns the number of ones in the binary representation of self
.
§Examples
1.0.0 (const: 1.32.0) · Sourcepub const fn is_power_of_two(self) -> bool
pub const fn is_power_of_two(self) -> bool
Returns true
if and only if self == 2^k
for some unsigned integer k
.
§Examples
Trait Implementations§
1.22.0 (const: unstable) · Source§impl AddAssign<&u16> for u16
impl AddAssign<&u16> for u16
Source§fn add_assign(&mut self, other: &u16)
fn add_assign(&mut self, other: &u16)
Performs the
+=
operation. Read more1.8.0 (const: unstable) · Source§impl AddAssign for u16
impl AddAssign for u16
Source§fn add_assign(&mut self, other: u16)
fn add_assign(&mut self, other: u16)
Performs the
+=
operation. Read more1.22.0 (const: unstable) · Source§impl BitAndAssign<&u16> for u16
impl BitAndAssign<&u16> for u16
Source§fn bitand_assign(&mut self, other: &u16)
fn bitand_assign(&mut self, other: &u16)
Performs the
&=
operation. Read more1.8.0 (const: unstable) · Source§impl BitAndAssign for u16
impl BitAndAssign for u16
Source§fn bitand_assign(&mut self, other: u16)
fn bitand_assign(&mut self, other: u16)
Performs the
&=
operation. Read more1.22.0 (const: unstable) · Source§impl BitOrAssign<&u16> for u16
impl BitOrAssign<&u16> for u16
Source§fn bitor_assign(&mut self, other: &u16)
fn bitor_assign(&mut self, other: &u16)
Performs the
|=
operation. Read more1.8.0 (const: unstable) · Source§impl BitOrAssign for u16
impl BitOrAssign for u16
Source§fn bitor_assign(&mut self, other: u16)
fn bitor_assign(&mut self, other: u16)
Performs the
|=
operation. Read more1.22.0 (const: unstable) · Source§impl BitXorAssign<&u16> for u16
impl BitXorAssign<&u16> for u16
Source§fn bitxor_assign(&mut self, other: &u16)
fn bitxor_assign(&mut self, other: &u16)
Performs the
^=
operation. Read more1.8.0 (const: unstable) · Source§impl BitXorAssign for u16
impl BitXorAssign for u16
Source§fn bitxor_assign(&mut self, other: u16)
fn bitxor_assign(&mut self, other: u16)
Performs the
^=
operation. Read more1.0.0 (const: unstable) · Source§impl Div for u16
This operation rounds towards zero, truncating any
fractional part of the exact result.
impl Div for u16
This operation rounds towards zero, truncating any fractional part of the exact result.
§Panics
This operation will panic if other == 0
.
1.22.0 (const: unstable) · Source§impl DivAssign<&u16> for u16
impl DivAssign<&u16> for u16
Source§fn div_assign(&mut self, other: &u16)
fn div_assign(&mut self, other: &u16)
Performs the
/=
operation. Read more1.8.0 (const: unstable) · Source§impl DivAssign for u16
impl DivAssign for u16
Source§fn div_assign(&mut self, other: u16)
fn div_assign(&mut self, other: u16)
Performs the
/=
operation. Read more1.22.0 (const: unstable) · Source§impl MulAssign<&u16> for u16
impl MulAssign<&u16> for u16
Source§fn mul_assign(&mut self, other: &u16)
fn mul_assign(&mut self, other: &u16)
Performs the
*=
operation. Read more1.8.0 (const: unstable) · Source§impl MulAssign for u16
impl MulAssign for u16
Source§fn mul_assign(&mut self, other: u16)
fn mul_assign(&mut self, other: u16)
Performs the
*=
operation. Read more1.0.0 (const: unstable) · Source§impl Ord for u16
impl Ord for u16
1.0.0 (const: unstable) · Source§impl PartialOrd for u16
impl PartialOrd for u16
1.0.0 (const: unstable) · Source§impl Rem for u16
This operation satisfies n % d == n - (n / d) * d
. The
result has the same sign as the left operand.
impl Rem for u16
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
.
1.22.0 (const: unstable) · Source§impl RemAssign<&u16> for u16
impl RemAssign<&u16> for u16
Source§fn rem_assign(&mut self, other: &u16)
fn rem_assign(&mut self, other: &u16)
Performs the
%=
operation. Read more1.8.0 (const: unstable) · Source§impl RemAssign for u16
impl RemAssign for u16
Source§fn rem_assign(&mut self, other: u16)
fn rem_assign(&mut self, other: u16)
Performs the
%=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&i128> for u16
impl ShlAssign<&i128> for u16
Source§fn shl_assign(&mut self, other: &i128)
fn shl_assign(&mut self, other: &i128)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&i16> for u16
impl ShlAssign<&i16> for u16
Source§fn shl_assign(&mut self, other: &i16)
fn shl_assign(&mut self, other: &i16)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&i32> for u16
impl ShlAssign<&i32> for u16
Source§fn shl_assign(&mut self, other: &i32)
fn shl_assign(&mut self, other: &i32)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&i64> for u16
impl ShlAssign<&i64> for u16
Source§fn shl_assign(&mut self, other: &i64)
fn shl_assign(&mut self, other: &i64)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&i8> for u16
impl ShlAssign<&i8> for u16
Source§fn shl_assign(&mut self, other: &i8)
fn shl_assign(&mut self, other: &i8)
Performs the
<<=
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)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u128> for u16
impl ShlAssign<&u128> for u16
Source§fn shl_assign(&mut self, other: &u128)
fn shl_assign(&mut self, other: &u128)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u16> for i128
impl ShlAssign<&u16> for i128
Source§fn shl_assign(&mut self, other: &u16)
fn shl_assign(&mut self, other: &u16)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u16> for i16
impl ShlAssign<&u16> for i16
Source§fn shl_assign(&mut self, other: &u16)
fn shl_assign(&mut self, other: &u16)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u16> for i32
impl ShlAssign<&u16> for i32
Source§fn shl_assign(&mut self, other: &u16)
fn shl_assign(&mut self, other: &u16)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u16> for i64
impl ShlAssign<&u16> for i64
Source§fn shl_assign(&mut self, other: &u16)
fn shl_assign(&mut self, other: &u16)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u16> for i8
impl ShlAssign<&u16> for i8
Source§fn shl_assign(&mut self, other: &u16)
fn shl_assign(&mut self, other: &u16)
Performs the
<<=
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)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u16> for u128
impl ShlAssign<&u16> for u128
Source§fn shl_assign(&mut self, other: &u16)
fn shl_assign(&mut self, other: &u16)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u16> for u16
impl ShlAssign<&u16> for u16
Source§fn shl_assign(&mut self, other: &u16)
fn shl_assign(&mut self, other: &u16)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u16> for u32
impl ShlAssign<&u16> for u32
Source§fn shl_assign(&mut self, other: &u16)
fn shl_assign(&mut self, other: &u16)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u16> for u64
impl ShlAssign<&u16> for u64
Source§fn shl_assign(&mut self, other: &u16)
fn shl_assign(&mut self, other: &u16)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u16> for u8
impl ShlAssign<&u16> for u8
Source§fn shl_assign(&mut self, other: &u16)
fn shl_assign(&mut self, other: &u16)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u16> for usize
impl ShlAssign<&u16> for usize
Source§fn shl_assign(&mut self, other: &u16)
fn shl_assign(&mut self, other: &u16)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u32> for u16
impl ShlAssign<&u32> for u16
Source§fn shl_assign(&mut self, other: &u32)
fn shl_assign(&mut self, other: &u32)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u64> for u16
impl ShlAssign<&u64> for u16
Source§fn shl_assign(&mut self, other: &u64)
fn shl_assign(&mut self, other: &u64)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&u8> for u16
impl ShlAssign<&u8> for u16
Source§fn shl_assign(&mut self, other: &u8)
fn shl_assign(&mut self, other: &u8)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShlAssign<&usize> for u16
impl ShlAssign<&usize> for u16
Source§fn shl_assign(&mut self, other: &usize)
fn shl_assign(&mut self, other: &usize)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<i128> for u16
impl ShlAssign<i128> for u16
Source§fn shl_assign(&mut self, other: i128)
fn shl_assign(&mut self, other: i128)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<i16> for u16
impl ShlAssign<i16> for u16
Source§fn shl_assign(&mut self, other: i16)
fn shl_assign(&mut self, other: i16)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<i32> for u16
impl ShlAssign<i32> for u16
Source§fn shl_assign(&mut self, other: i32)
fn shl_assign(&mut self, other: i32)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<i64> for u16
impl ShlAssign<i64> for u16
Source§fn shl_assign(&mut self, other: i64)
fn shl_assign(&mut self, other: i64)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<i8> for u16
impl ShlAssign<i8> for u16
Source§fn shl_assign(&mut self, other: i8)
fn shl_assign(&mut self, other: i8)
Performs the
<<=
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)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<u128> for u16
impl ShlAssign<u128> for u16
Source§fn shl_assign(&mut self, other: u128)
fn shl_assign(&mut self, other: u128)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<u16> for i128
impl ShlAssign<u16> for i128
Source§fn shl_assign(&mut self, other: u16)
fn shl_assign(&mut self, other: u16)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<u16> for i16
impl ShlAssign<u16> for i16
Source§fn shl_assign(&mut self, other: u16)
fn shl_assign(&mut self, other: u16)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<u16> for i32
impl ShlAssign<u16> for i32
Source§fn shl_assign(&mut self, other: u16)
fn shl_assign(&mut self, other: u16)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<u16> for i64
impl ShlAssign<u16> for i64
Source§fn shl_assign(&mut self, other: u16)
fn shl_assign(&mut self, other: u16)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<u16> for i8
impl ShlAssign<u16> for i8
Source§fn shl_assign(&mut self, other: u16)
fn shl_assign(&mut self, other: u16)
Performs the
<<=
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)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<u16> for u128
impl ShlAssign<u16> for u128
Source§fn shl_assign(&mut self, other: u16)
fn shl_assign(&mut self, other: u16)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<u16> for u32
impl ShlAssign<u16> for u32
Source§fn shl_assign(&mut self, other: u16)
fn shl_assign(&mut self, other: u16)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<u16> for u64
impl ShlAssign<u16> for u64
Source§fn shl_assign(&mut self, other: u16)
fn shl_assign(&mut self, other: u16)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<u16> for u8
impl ShlAssign<u16> for u8
Source§fn shl_assign(&mut self, other: u16)
fn shl_assign(&mut self, other: u16)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<u16> for usize
impl ShlAssign<u16> for usize
Source§fn shl_assign(&mut self, other: u16)
fn shl_assign(&mut self, other: u16)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<u32> for u16
impl ShlAssign<u32> for u16
Source§fn shl_assign(&mut self, other: u32)
fn shl_assign(&mut self, other: u32)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<u64> for u16
impl ShlAssign<u64> for u16
Source§fn shl_assign(&mut self, other: u64)
fn shl_assign(&mut self, other: u64)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<u8> for u16
impl ShlAssign<u8> for u16
Source§fn shl_assign(&mut self, other: u8)
fn shl_assign(&mut self, other: u8)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign<usize> for u16
impl ShlAssign<usize> for u16
Source§fn shl_assign(&mut self, other: usize)
fn shl_assign(&mut self, other: usize)
Performs the
<<=
operation. Read more1.8.0 (const: unstable) · Source§impl ShlAssign for u16
impl ShlAssign for u16
Source§fn shl_assign(&mut self, other: u16)
fn shl_assign(&mut self, other: u16)
Performs the
<<=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&i128> for u16
impl ShrAssign<&i128> for u16
Source§fn shr_assign(&mut self, other: &i128)
fn shr_assign(&mut self, other: &i128)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&i16> for u16
impl ShrAssign<&i16> for u16
Source§fn shr_assign(&mut self, other: &i16)
fn shr_assign(&mut self, other: &i16)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&i32> for u16
impl ShrAssign<&i32> for u16
Source§fn shr_assign(&mut self, other: &i32)
fn shr_assign(&mut self, other: &i32)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&i64> for u16
impl ShrAssign<&i64> for u16
Source§fn shr_assign(&mut self, other: &i64)
fn shr_assign(&mut self, other: &i64)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&i8> for u16
impl ShrAssign<&i8> for u16
Source§fn shr_assign(&mut self, other: &i8)
fn shr_assign(&mut self, other: &i8)
Performs the
>>=
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)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u128> for u16
impl ShrAssign<&u128> for u16
Source§fn shr_assign(&mut self, other: &u128)
fn shr_assign(&mut self, other: &u128)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u16> for i128
impl ShrAssign<&u16> for i128
Source§fn shr_assign(&mut self, other: &u16)
fn shr_assign(&mut self, other: &u16)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u16> for i16
impl ShrAssign<&u16> for i16
Source§fn shr_assign(&mut self, other: &u16)
fn shr_assign(&mut self, other: &u16)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u16> for i32
impl ShrAssign<&u16> for i32
Source§fn shr_assign(&mut self, other: &u16)
fn shr_assign(&mut self, other: &u16)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u16> for i64
impl ShrAssign<&u16> for i64
Source§fn shr_assign(&mut self, other: &u16)
fn shr_assign(&mut self, other: &u16)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u16> for i8
impl ShrAssign<&u16> for i8
Source§fn shr_assign(&mut self, other: &u16)
fn shr_assign(&mut self, other: &u16)
Performs the
>>=
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)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u16> for u128
impl ShrAssign<&u16> for u128
Source§fn shr_assign(&mut self, other: &u16)
fn shr_assign(&mut self, other: &u16)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u16> for u16
impl ShrAssign<&u16> for u16
Source§fn shr_assign(&mut self, other: &u16)
fn shr_assign(&mut self, other: &u16)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u16> for u32
impl ShrAssign<&u16> for u32
Source§fn shr_assign(&mut self, other: &u16)
fn shr_assign(&mut self, other: &u16)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u16> for u64
impl ShrAssign<&u16> for u64
Source§fn shr_assign(&mut self, other: &u16)
fn shr_assign(&mut self, other: &u16)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u16> for u8
impl ShrAssign<&u16> for u8
Source§fn shr_assign(&mut self, other: &u16)
fn shr_assign(&mut self, other: &u16)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u16> for usize
impl ShrAssign<&u16> for usize
Source§fn shr_assign(&mut self, other: &u16)
fn shr_assign(&mut self, other: &u16)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u32> for u16
impl ShrAssign<&u32> for u16
Source§fn shr_assign(&mut self, other: &u32)
fn shr_assign(&mut self, other: &u32)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u64> for u16
impl ShrAssign<&u64> for u16
Source§fn shr_assign(&mut self, other: &u64)
fn shr_assign(&mut self, other: &u64)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&u8> for u16
impl ShrAssign<&u8> for u16
Source§fn shr_assign(&mut self, other: &u8)
fn shr_assign(&mut self, other: &u8)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl ShrAssign<&usize> for u16
impl ShrAssign<&usize> for u16
Source§fn shr_assign(&mut self, other: &usize)
fn shr_assign(&mut self, other: &usize)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<i128> for u16
impl ShrAssign<i128> for u16
Source§fn shr_assign(&mut self, other: i128)
fn shr_assign(&mut self, other: i128)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<i16> for u16
impl ShrAssign<i16> for u16
Source§fn shr_assign(&mut self, other: i16)
fn shr_assign(&mut self, other: i16)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<i32> for u16
impl ShrAssign<i32> for u16
Source§fn shr_assign(&mut self, other: i32)
fn shr_assign(&mut self, other: i32)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<i64> for u16
impl ShrAssign<i64> for u16
Source§fn shr_assign(&mut self, other: i64)
fn shr_assign(&mut self, other: i64)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<i8> for u16
impl ShrAssign<i8> for u16
Source§fn shr_assign(&mut self, other: i8)
fn shr_assign(&mut self, other: i8)
Performs the
>>=
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)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<u128> for u16
impl ShrAssign<u128> for u16
Source§fn shr_assign(&mut self, other: u128)
fn shr_assign(&mut self, other: u128)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<u16> for i128
impl ShrAssign<u16> for i128
Source§fn shr_assign(&mut self, other: u16)
fn shr_assign(&mut self, other: u16)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<u16> for i16
impl ShrAssign<u16> for i16
Source§fn shr_assign(&mut self, other: u16)
fn shr_assign(&mut self, other: u16)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<u16> for i32
impl ShrAssign<u16> for i32
Source§fn shr_assign(&mut self, other: u16)
fn shr_assign(&mut self, other: u16)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<u16> for i64
impl ShrAssign<u16> for i64
Source§fn shr_assign(&mut self, other: u16)
fn shr_assign(&mut self, other: u16)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<u16> for i8
impl ShrAssign<u16> for i8
Source§fn shr_assign(&mut self, other: u16)
fn shr_assign(&mut self, other: u16)
Performs the
>>=
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)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<u16> for u128
impl ShrAssign<u16> for u128
Source§fn shr_assign(&mut self, other: u16)
fn shr_assign(&mut self, other: u16)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<u16> for u32
impl ShrAssign<u16> for u32
Source§fn shr_assign(&mut self, other: u16)
fn shr_assign(&mut self, other: u16)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<u16> for u64
impl ShrAssign<u16> for u64
Source§fn shr_assign(&mut self, other: u16)
fn shr_assign(&mut self, other: u16)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<u16> for u8
impl ShrAssign<u16> for u8
Source§fn shr_assign(&mut self, other: u16)
fn shr_assign(&mut self, other: u16)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<u16> for usize
impl ShrAssign<u16> for usize
Source§fn shr_assign(&mut self, other: u16)
fn shr_assign(&mut self, other: u16)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<u32> for u16
impl ShrAssign<u32> for u16
Source§fn shr_assign(&mut self, other: u32)
fn shr_assign(&mut self, other: u32)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<u64> for u16
impl ShrAssign<u64> for u16
Source§fn shr_assign(&mut self, other: u64)
fn shr_assign(&mut self, other: u64)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<u8> for u16
impl ShrAssign<u8> for u16
Source§fn shr_assign(&mut self, other: u8)
fn shr_assign(&mut self, other: u8)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign<usize> for u16
impl ShrAssign<usize> for u16
Source§fn shr_assign(&mut self, other: usize)
fn shr_assign(&mut self, other: usize)
Performs the
>>=
operation. Read more1.8.0 (const: unstable) · Source§impl ShrAssign for u16
impl ShrAssign for u16
Source§fn shr_assign(&mut self, other: u16)
fn shr_assign(&mut self, other: u16)
Performs the
>>=
operation. Read more1.22.0 (const: unstable) · Source§impl SubAssign<&u16> for u16
impl SubAssign<&u16> for u16
Source§fn sub_assign(&mut self, other: &u16)
fn sub_assign(&mut self, other: &u16)
Performs the
-=
operation. Read more1.8.0 (const: unstable) · Source§impl SubAssign for u16
impl SubAssign for u16
Source§fn sub_assign(&mut self, other: u16)
fn sub_assign(&mut self, other: u16)
Performs the
-=
operation. Read more