Type Alias comfy_wgpu::winit::event::ScanCode
source · pub type ScanCode = u32;Expand description
Hardware-dependent keyboard scan code.
Trait Implementations§
1.22.0 · source§impl AddAssign<&u32> for u32
impl AddAssign<&u32> for u32
source§fn add_assign(&mut self, other: &u32)
fn add_assign(&mut self, other: &u32)
+= operation. Read more1.8.0 · source§impl AddAssign<u32> for u32
impl AddAssign<u32> for u32
source§fn add_assign(&mut self, other: u32)
fn add_assign(&mut self, other: u32)
+= operation. Read more§impl AsPrimitive<NotNan<f32>> for u32
impl AsPrimitive<NotNan<f32>> for u32
§impl AsPrimitive<NotNan<f64>> for u32
impl AsPrimitive<NotNan<f64>> for u32
§impl AsPrimitive<OrderedFloat<f32>> for u32
impl AsPrimitive<OrderedFloat<f32>> for u32
§fn as_(self) -> OrderedFloat<f32>
fn as_(self) -> OrderedFloat<f32>
as operator.§impl AsPrimitive<OrderedFloat<f64>> for u32
impl AsPrimitive<OrderedFloat<f64>> for u32
§fn as_(self) -> OrderedFloat<f64>
fn as_(self) -> OrderedFloat<f64>
as operator.source§impl AsPrimitive<f32> for u32
impl AsPrimitive<f32> for u32
source§impl AsPrimitive<f64> for u32
impl AsPrimitive<f64> for u32
source§impl AsPrimitive<i128> for u32
impl AsPrimitive<i128> for u32
source§impl AsPrimitive<i16> for u32
impl AsPrimitive<i16> for u32
source§impl AsPrimitive<i32> for u32
impl AsPrimitive<i32> for u32
source§impl AsPrimitive<i64> for u32
impl AsPrimitive<i64> for u32
source§impl AsPrimitive<i8> for u32
impl AsPrimitive<i8> for u32
source§impl AsPrimitive<isize> for u32
impl AsPrimitive<isize> for u32
source§impl AsPrimitive<u128> for u32
impl AsPrimitive<u128> for u32
source§impl AsPrimitive<u16> for u32
impl AsPrimitive<u16> for u32
source§impl AsPrimitive<u32> for u32
impl AsPrimitive<u32> for u32
source§impl AsPrimitive<u64> for u32
impl AsPrimitive<u64> for u32
source§impl AsPrimitive<u8> for u32
impl AsPrimitive<u8> for u32
source§impl AsPrimitive<usize> for u32
impl AsPrimitive<usize> for u32
1.22.0 · source§impl BitAndAssign<&u32> for u32
impl BitAndAssign<&u32> for u32
source§fn bitand_assign(&mut self, other: &u32)
fn bitand_assign(&mut self, other: &u32)
&= operation. Read more1.8.0 · source§impl BitAndAssign<u32> for u32
impl BitAndAssign<u32> for u32
source§fn bitand_assign(&mut self, other: u32)
fn bitand_assign(&mut self, other: u32)
&= operation. Read more1.45.0 · source§impl BitOr<NonZeroU32> for u32
impl BitOr<NonZeroU32> for u32
§type Output = NonZeroU32
type Output = NonZeroU32
| operator.source§fn bitor(self, rhs: NonZeroU32) -> <u32 as BitOr<NonZeroU32>>::Output
fn bitor(self, rhs: NonZeroU32) -> <u32 as BitOr<NonZeroU32>>::Output
| operation. Read more1.22.0 · source§impl BitOrAssign<&u32> for u32
impl BitOrAssign<&u32> for u32
source§fn bitor_assign(&mut self, other: &u32)
fn bitor_assign(&mut self, other: &u32)
|= operation. Read more1.8.0 · source§impl BitOrAssign<u32> for u32
impl BitOrAssign<u32> for u32
source§fn bitor_assign(&mut self, other: u32)
fn bitor_assign(&mut self, other: u32)
|= operation. Read more1.22.0 · source§impl BitXorAssign<&u32> for u32
impl BitXorAssign<&u32> for u32
source§fn bitxor_assign(&mut self, other: &u32)
fn bitxor_assign(&mut self, other: &u32)
^= operation. Read more1.8.0 · source§impl BitXorAssign<u32> for u32
impl BitXorAssign<u32> for u32
source§fn bitxor_assign(&mut self, other: u32)
fn bitxor_assign(&mut self, other: u32)
^= operation. Read moresource§impl CheckedAdd for u32
impl CheckedAdd for u32
source§impl CheckedDiv for u32
impl CheckedDiv for u32
source§impl CheckedEuclid for u32
impl CheckedEuclid for u32
source§impl CheckedMul for u32
impl CheckedMul for u32
source§impl CheckedNeg for u32
impl CheckedNeg for u32
source§impl CheckedRem for u32
impl CheckedRem for u32
source§impl CheckedShl for u32
impl CheckedShl for u32
source§impl CheckedShr for u32
impl CheckedShr for u32
source§impl CheckedSub for u32
impl CheckedSub for u32
source§impl Contiguous for u32
impl Contiguous for u32
source§const MAX_VALUE: u32 = 4_294_967_295u32
const MAX_VALUE: u32 = 4_294_967_295u32
source§fn from_integer(value: Self::Int) -> Option<Self>
fn from_integer(value: Self::Int) -> Option<Self>
value is within the range for valid instances of this type,
returns Some(converted_value), otherwise, returns None. Read moresource§fn into_integer(self) -> Self::Int
fn into_integer(self) -> Self::Int
C into the underlying integral type. This
mostly exists otherwise generic code would need unsafe for the value as integer Read more1.51.0 · source§impl Div<NonZeroU32> for u32
impl Div<NonZeroU32> for u32
1.0.0 · source§impl Div<u32> for u32
impl Div<u32> for u32
This operation rounds towards zero, truncating any fractional part of the exact result.
Panics
This operation will panic if other == 0.
1.22.0 · source§impl DivAssign<&u32> for u32
impl DivAssign<&u32> for u32
source§fn div_assign(&mut self, other: &u32)
fn div_assign(&mut self, other: &u32)
/= operation. Read more1.8.0 · source§impl DivAssign<u32> for u32
impl DivAssign<u32> for u32
source§fn div_assign(&mut self, other: u32)
fn div_assign(&mut self, other: u32)
/= operation. Read more1.31.0 · source§impl From<NonZeroU32> for u32
impl From<NonZeroU32> for u32
source§fn from(nonzero: NonZeroU32) -> u32
fn from(nonzero: NonZeroU32) -> u32
Converts a NonZeroU32 into an u32
source§impl FromBytes for u32
impl FromBytes for u32
type Bytes = [u8; 4]
source§fn from_be_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32
fn from_be_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32
source§impl FromPrimitive for u32
impl FromPrimitive for u32
source§fn from_isize(n: isize) -> Option<u32>
fn from_isize(n: isize) -> Option<u32>
isize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_i8(n: i8) -> Option<u32>
fn from_i8(n: i8) -> Option<u32>
i8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_i16(n: i16) -> Option<u32>
fn from_i16(n: i16) -> Option<u32>
i16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_i32(n: i32) -> Option<u32>
fn from_i32(n: i32) -> Option<u32>
i32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_i64(n: i64) -> Option<u32>
fn from_i64(n: i64) -> Option<u32>
i64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_i128(n: i128) -> Option<u32>
fn from_i128(n: i128) -> Option<u32>
i128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moresource§fn from_usize(n: usize) -> Option<u32>
fn from_usize(n: usize) -> Option<u32>
usize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_u8(n: u8) -> Option<u32>
fn from_u8(n: u8) -> Option<u32>
u8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_u16(n: u16) -> Option<u32>
fn from_u16(n: u16) -> Option<u32>
u16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_u32(n: u32) -> Option<u32>
fn from_u32(n: u32) -> Option<u32>
u32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_u64(n: u64) -> Option<u32>
fn from_u64(n: u64) -> Option<u32>
u64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_u128(n: u128) -> Option<u32>
fn from_u128(n: u128) -> Option<u32>
u128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moresource§impl MulAddAssign<u32, u32> for u32
impl MulAddAssign<u32, u32> for u32
source§fn mul_add_assign(&mut self, a: u32, b: u32)
fn mul_add_assign(&mut self, a: u32, b: u32)
*self = (*self * a) + b1.22.0 · source§impl MulAssign<&u32> for u32
impl MulAssign<&u32> for u32
source§fn mul_assign(&mut self, other: &u32)
fn mul_assign(&mut self, other: &u32)
*= operation. Read more1.8.0 · source§impl MulAssign<u32> for u32
impl MulAssign<u32> for u32
source§fn mul_assign(&mut self, other: u32)
fn mul_assign(&mut self, other: u32)
*= operation. Read moresource§impl Num for u32
impl Num for u32
type FromStrRadixErr = ParseIntError
source§fn from_str_radix(s: &str, radix: u32) -> Result<u32, ParseIntError>
fn from_str_radix(s: &str, radix: u32) -> Result<u32, ParseIntError>
2..=36). Read more1.0.0 · source§impl Ord for u32
impl Ord for u32
source§impl OverflowingAdd for u32
impl OverflowingAdd for u32
source§impl OverflowingMul for u32
impl OverflowingMul for u32
source§impl OverflowingSub for u32
impl OverflowingSub for u32
1.0.0 · source§impl PartialOrd<u32> for u32
impl PartialOrd<u32> for u32
source§fn le(&self, other: &u32) -> bool
fn le(&self, other: &u32) -> bool
self and other) and is used by the <=
operator. Read moresource§impl PrimInt for u32
impl PrimInt for u32
source§fn count_ones(self) -> u32
fn count_ones(self) -> u32
self. Read moresource§fn count_zeros(self) -> u32
fn count_zeros(self) -> u32
self. Read moresource§fn leading_ones(self) -> u32
fn leading_ones(self) -> u32
self. Read moresource§fn leading_zeros(self) -> u32
fn leading_zeros(self) -> u32
self. Read moresource§fn trailing_ones(self) -> u32
fn trailing_ones(self) -> u32
self. Read moresource§fn trailing_zeros(self) -> u32
fn trailing_zeros(self) -> u32
self. Read moresource§fn rotate_left(self, n: u32) -> u32
fn rotate_left(self, n: u32) -> u32
n, wrapping
the truncated bits to the end of the resulting integer. Read moresource§fn rotate_right(self, n: u32) -> u32
fn rotate_right(self, n: u32) -> u32
n, wrapping
the truncated bits to the beginning of the resulting integer. Read moresource§fn signed_shl(self, n: u32) -> u32
fn signed_shl(self, n: u32) -> u32
n, filling
zeros in the least significant bits. Read moresource§fn signed_shr(self, n: u32) -> u32
fn signed_shr(self, n: u32) -> u32
n, copying
the “sign bit” in the most significant bits even for unsigned types. Read moresource§fn unsigned_shl(self, n: u32) -> u32
fn unsigned_shl(self, n: u32) -> u32
n, filling
zeros in the least significant bits. Read moresource§fn unsigned_shr(self, n: u32) -> u32
fn unsigned_shr(self, n: u32) -> u32
n, filling
zeros in the most significant bits. Read moresource§fn swap_bytes(self) -> u32
fn swap_bytes(self) -> u32
source§fn reverse_bits(self) -> u32
fn reverse_bits(self) -> u32
source§fn from_be(x: u32) -> u32
fn from_be(x: u32) -> u32
source§impl Primitive for u32
impl Primitive for u32
source§const DEFAULT_MAX_VALUE: u32 = 4_294_967_295u32
const DEFAULT_MAX_VALUE: u32 = 4_294_967_295u32
1.0, whereas the integer types inherit their usual maximum values.source§const DEFAULT_MIN_VALUE: u32 = 0u32
const DEFAULT_MIN_VALUE: u32 = 0u32
0.0, whereas the integer types inherit their usual minimum values.1.51.0 · source§impl Rem<NonZeroU32> for u32
impl Rem<NonZeroU32> for u32
1.0.0 · source§impl Rem<u32> for u32
impl Rem<u32> for u32
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 · source§impl RemAssign<&u32> for u32
impl RemAssign<&u32> for u32
source§fn rem_assign(&mut self, other: &u32)
fn rem_assign(&mut self, other: &u32)
%= operation. Read more1.8.0 · source§impl RemAssign<u32> for u32
impl RemAssign<u32> for u32
source§fn rem_assign(&mut self, other: u32)
fn rem_assign(&mut self, other: u32)
%= operation. Read moresource§impl SampleUniform for u32
impl SampleUniform for u32
§type Sampler = UniformInt<u32>
type Sampler = UniformInt<u32>
UniformSampler implementation supporting type X.source§impl Saturating for u32
impl Saturating for u32
source§fn saturating_add(self, v: u32) -> u32
fn saturating_add(self, v: u32) -> u32
source§fn saturating_sub(self, v: u32) -> u32
fn saturating_sub(self, v: u32) -> u32
source§impl SaturatingAdd for u32
impl SaturatingAdd for u32
source§fn saturating_add(&self, v: &u32) -> u32
fn saturating_add(&self, v: &u32) -> u32
self + other, saturating at the relevant high or low boundary of
the type.source§impl SaturatingMul for u32
impl SaturatingMul for u32
source§fn saturating_mul(&self, v: &u32) -> u32
fn saturating_mul(&self, v: &u32) -> u32
self * other, saturating at the relevant high or low boundary of
the type.source§impl SaturatingSub for u32
impl SaturatingSub for u32
source§fn saturating_sub(&self, v: &u32) -> u32
fn saturating_sub(&self, v: &u32) -> u32
self - other, saturating at the relevant high or low boundary of
the type.§impl SerJson for u32
impl SerJson for u32
§fn ser_json(&self, _d: usize, s: &mut SerJsonState)
fn ser_json(&self, _d: usize, s: &mut SerJsonState)
§fn serialize_json(&self) -> String
fn serialize_json(&self) -> String
§impl SerRon for u32
impl SerRon for u32
§fn ser_ron(&self, _d: usize, s: &mut SerRonState)
fn ser_ron(&self, _d: usize, s: &mut SerRonState)
§fn serialize_ron(&self) -> String
fn serialize_ron(&self) -> String
1.22.0 · source§impl ShlAssign<&i128> for u32
impl ShlAssign<&i128> for u32
source§fn shl_assign(&mut self, other: &i128)
fn shl_assign(&mut self, other: &i128)
<<= operation. Read more1.22.0 · source§impl ShlAssign<&i16> for u32
impl ShlAssign<&i16> for u32
source§fn shl_assign(&mut self, other: &i16)
fn shl_assign(&mut self, other: &i16)
<<= operation. Read more1.22.0 · source§impl ShlAssign<&i32> for u32
impl ShlAssign<&i32> for u32
source§fn shl_assign(&mut self, other: &i32)
fn shl_assign(&mut self, other: &i32)
<<= operation. Read more1.22.0 · source§impl ShlAssign<&i64> for u32
impl ShlAssign<&i64> for u32
source§fn shl_assign(&mut self, other: &i64)
fn shl_assign(&mut self, other: &i64)
<<= operation. Read more1.22.0 · source§impl ShlAssign<&i8> for u32
impl ShlAssign<&i8> for u32
source§fn shl_assign(&mut self, other: &i8)
fn shl_assign(&mut self, other: &i8)
<<= operation. Read more1.22.0 · 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 · source§impl ShlAssign<&u128> for u32
impl ShlAssign<&u128> for u32
source§fn shl_assign(&mut self, other: &u128)
fn shl_assign(&mut self, other: &u128)
<<= operation. Read more1.22.0 · 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)
<<= operation. Read more1.22.0 · source§impl ShlAssign<&u32> for u32
impl ShlAssign<&u32> for u32
source§fn shl_assign(&mut self, other: &u32)
fn shl_assign(&mut self, other: &u32)
<<= operation. Read more1.22.0 · source§impl ShlAssign<&u64> for u32
impl ShlAssign<&u64> for u32
source§fn shl_assign(&mut self, other: &u64)
fn shl_assign(&mut self, other: &u64)
<<= operation. Read more1.22.0 · source§impl ShlAssign<&u8> for u32
impl ShlAssign<&u8> for u32
source§fn shl_assign(&mut self, other: &u8)
fn shl_assign(&mut self, other: &u8)
<<= operation. Read more1.22.0 · source§impl ShlAssign<&usize> for u32
impl ShlAssign<&usize> for u32
source§fn shl_assign(&mut self, other: &usize)
fn shl_assign(&mut self, other: &usize)
<<= operation. Read more1.8.0 · source§impl ShlAssign<i128> for u32
impl ShlAssign<i128> for u32
source§fn shl_assign(&mut self, other: i128)
fn shl_assign(&mut self, other: i128)
<<= operation. Read more1.8.0 · source§impl ShlAssign<i16> for u32
impl ShlAssign<i16> for u32
source§fn shl_assign(&mut self, other: i16)
fn shl_assign(&mut self, other: i16)
<<= operation. Read more1.8.0 · source§impl ShlAssign<i32> for u32
impl ShlAssign<i32> for u32
source§fn shl_assign(&mut self, other: i32)
fn shl_assign(&mut self, other: i32)
<<= operation. Read more1.8.0 · source§impl ShlAssign<i64> for u32
impl ShlAssign<i64> for u32
source§fn shl_assign(&mut self, other: i64)
fn shl_assign(&mut self, other: i64)
<<= operation. Read more1.8.0 · source§impl ShlAssign<i8> for u32
impl ShlAssign<i8> for u32
source§fn shl_assign(&mut self, other: i8)
fn shl_assign(&mut self, other: i8)
<<= operation. Read more1.8.0 · 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 · source§impl ShlAssign<u128> for u32
impl ShlAssign<u128> for u32
source§fn shl_assign(&mut self, other: u128)
fn shl_assign(&mut self, other: u128)
<<= operation. Read more1.8.0 · 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)
<<= operation. Read more1.8.0 · source§impl ShlAssign<u32> for u32
impl ShlAssign<u32> for u32
source§fn shl_assign(&mut self, other: u32)
fn shl_assign(&mut self, other: u32)
<<= operation. Read more1.8.0 · source§impl ShlAssign<u64> for u32
impl ShlAssign<u64> for u32
source§fn shl_assign(&mut self, other: u64)
fn shl_assign(&mut self, other: u64)
<<= operation. Read more1.8.0 · source§impl ShlAssign<u8> for u32
impl ShlAssign<u8> for u32
source§fn shl_assign(&mut self, other: u8)
fn shl_assign(&mut self, other: u8)
<<= operation. Read more1.8.0 · source§impl ShlAssign<usize> for u32
impl ShlAssign<usize> for u32
source§fn shl_assign(&mut self, other: usize)
fn shl_assign(&mut self, other: usize)
<<= operation. Read more1.22.0 · source§impl ShrAssign<&i128> for u32
impl ShrAssign<&i128> for u32
source§fn shr_assign(&mut self, other: &i128)
fn shr_assign(&mut self, other: &i128)
>>= operation. Read more1.22.0 · source§impl ShrAssign<&i16> for u32
impl ShrAssign<&i16> for u32
source§fn shr_assign(&mut self, other: &i16)
fn shr_assign(&mut self, other: &i16)
>>= operation. Read more1.22.0 · source§impl ShrAssign<&i32> for u32
impl ShrAssign<&i32> for u32
source§fn shr_assign(&mut self, other: &i32)
fn shr_assign(&mut self, other: &i32)
>>= operation. Read more1.22.0 · source§impl ShrAssign<&i64> for u32
impl ShrAssign<&i64> for u32
source§fn shr_assign(&mut self, other: &i64)
fn shr_assign(&mut self, other: &i64)
>>= operation. Read more1.22.0 · source§impl ShrAssign<&i8> for u32
impl ShrAssign<&i8> for u32
source§fn shr_assign(&mut self, other: &i8)
fn shr_assign(&mut self, other: &i8)
>>= operation. Read more1.22.0 · 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 · source§impl ShrAssign<&u128> for u32
impl ShrAssign<&u128> for u32
source§fn shr_assign(&mut self, other: &u128)
fn shr_assign(&mut self, other: &u128)
>>= operation. Read more1.22.0 · 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)
>>= operation. Read more1.22.0 · source§impl ShrAssign<&u32> for u32
impl ShrAssign<&u32> for u32
source§fn shr_assign(&mut self, other: &u32)
fn shr_assign(&mut self, other: &u32)
>>= operation. Read more1.22.0 · source§impl ShrAssign<&u64> for u32
impl ShrAssign<&u64> for u32
source§fn shr_assign(&mut self, other: &u64)
fn shr_assign(&mut self, other: &u64)
>>= operation. Read more1.22.0 · source§impl ShrAssign<&u8> for u32
impl ShrAssign<&u8> for u32
source§fn shr_assign(&mut self, other: &u8)
fn shr_assign(&mut self, other: &u8)
>>= operation. Read more1.22.0 · source§impl ShrAssign<&usize> for u32
impl ShrAssign<&usize> for u32
source§fn shr_assign(&mut self, other: &usize)
fn shr_assign(&mut self, other: &usize)
>>= operation. Read more1.8.0 · source§impl ShrAssign<i128> for u32
impl ShrAssign<i128> for u32
source§fn shr_assign(&mut self, other: i128)
fn shr_assign(&mut self, other: i128)
>>= operation. Read more1.8.0 · source§impl ShrAssign<i16> for u32
impl ShrAssign<i16> for u32
source§fn shr_assign(&mut self, other: i16)
fn shr_assign(&mut self, other: i16)
>>= operation. Read more1.8.0 · source§impl ShrAssign<i32> for u32
impl ShrAssign<i32> for u32
source§fn shr_assign(&mut self, other: i32)
fn shr_assign(&mut self, other: i32)
>>= operation. Read more1.8.0 · source§impl ShrAssign<i64> for u32
impl ShrAssign<i64> for u32
source§fn shr_assign(&mut self, other: i64)
fn shr_assign(&mut self, other: i64)
>>= operation. Read more1.8.0 · source§impl ShrAssign<i8> for u32
impl ShrAssign<i8> for u32
source§fn shr_assign(&mut self, other: i8)
fn shr_assign(&mut self, other: i8)
>>= operation. Read more1.8.0 · 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 · source§impl ShrAssign<u128> for u32
impl ShrAssign<u128> for u32
source§fn shr_assign(&mut self, other: u128)
fn shr_assign(&mut self, other: u128)
>>= operation. Read more1.8.0 · 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)
>>= operation. Read more1.8.0 · source§impl ShrAssign<u32> for u32
impl ShrAssign<u32> for u32
source§fn shr_assign(&mut self, other: u32)
fn shr_assign(&mut self, other: u32)
>>= operation. Read more1.8.0 · source§impl ShrAssign<u64> for u32
impl ShrAssign<u64> for u32
source§fn shr_assign(&mut self, other: u64)
fn shr_assign(&mut self, other: u64)
>>= operation. Read more1.8.0 · source§impl ShrAssign<u8> for u32
impl ShrAssign<u8> for u32
source§fn shr_assign(&mut self, other: u8)
fn shr_assign(&mut self, other: u8)
>>= operation. Read more1.8.0 · source§impl ShrAssign<usize> for u32
impl ShrAssign<usize> for u32
source§fn shr_assign(&mut self, other: usize)
fn shr_assign(&mut self, other: usize)
>>= operation. Read moresource§impl SimdElement for u32
impl SimdElement for u32
source§impl Step for u32
impl Step for u32
source§unsafe fn forward_unchecked(start: u32, n: usize) -> u32
unsafe fn forward_unchecked(start: u32, n: usize) -> u32
step_trait)source§unsafe fn backward_unchecked(start: u32, n: usize) -> u32
unsafe fn backward_unchecked(start: u32, n: usize) -> u32
step_trait)source§fn forward(start: u32, n: usize) -> u32
fn forward(start: u32, n: usize) -> u32
step_trait)source§fn backward(start: u32, n: usize) -> u32
fn backward(start: u32, n: usize) -> u32
step_trait)source§fn steps_between(start: &u32, end: &u32) -> Option<usize>
fn steps_between(start: &u32, end: &u32) -> Option<usize>
step_trait)1.22.0 · source§impl SubAssign<&u32> for u32
impl SubAssign<&u32> for u32
source§fn sub_assign(&mut self, other: &u32)
fn sub_assign(&mut self, other: &u32)
-= operation. Read more1.8.0 · source§impl SubAssign<u32> for u32
impl SubAssign<u32> for u32
source§fn sub_assign(&mut self, other: u32)
fn sub_assign(&mut self, other: u32)
-= operation. Read moresource§impl ToBytes for u32
impl ToBytes for u32
type Bytes = [u8; 4]
source§fn to_be_bytes(&self) -> <u32 as ToBytes>::Bytes
fn to_be_bytes(&self) -> <u32 as ToBytes>::Bytes
source§impl ToPrimitive for u32
impl ToPrimitive for u32
source§fn to_isize(&self) -> Option<isize>
fn to_isize(&self) -> Option<isize>
self to an isize. If the value cannot be
represented by an isize, then None is returned.source§fn to_i8(&self) -> Option<i8>
fn to_i8(&self) -> Option<i8>
self to an i8. If the value cannot be
represented by an i8, then None is returned.source§fn to_i16(&self) -> Option<i16>
fn to_i16(&self) -> Option<i16>
self to an i16. If the value cannot be
represented by an i16, then None is returned.source§fn to_i32(&self) -> Option<i32>
fn to_i32(&self) -> Option<i32>
self to an i32. If the value cannot be
represented by an i32, then None is returned.source§fn to_i64(&self) -> Option<i64>
fn to_i64(&self) -> Option<i64>
self to an i64. If the value cannot be
represented by an i64, then None is returned.source§fn to_i128(&self) -> Option<i128>
fn to_i128(&self) -> Option<i128>
self to an i128. If the value cannot be
represented by an i128 (i64 under the default implementation), then
None is returned. Read moresource§fn to_usize(&self) -> Option<usize>
fn to_usize(&self) -> Option<usize>
self to a usize. If the value cannot be
represented by a usize, then None is returned.source§fn to_u8(&self) -> Option<u8>
fn to_u8(&self) -> Option<u8>
self to a u8. If the value cannot be
represented by a u8, then None is returned.source§fn to_u16(&self) -> Option<u16>
fn to_u16(&self) -> Option<u16>
self to a u16. If the value cannot be
represented by a u16, then None is returned.source§fn to_u32(&self) -> Option<u32>
fn to_u32(&self) -> Option<u32>
self to a u32. If the value cannot be
represented by a u32, then None is returned.source§fn to_u64(&self) -> Option<u64>
fn to_u64(&self) -> Option<u64>
self to a u64. If the value cannot be
represented by a u64, then None is returned.source§fn to_u128(&self) -> Option<u128>
fn to_u128(&self) -> Option<u128>
self to a u128. If the value cannot be
represented by a u128 (u64 under the default implementation), then
None is returned. Read more1.34.0 · source§impl TryFrom<i128> for u32
impl TryFrom<i128> for u32
source§fn try_from(u: i128) -> Result<u32, <u32 as TryFrom<i128>>::Error>
fn try_from(u: i128) -> Result<u32, <u32 as TryFrom<i128>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<i16> for u32
impl TryFrom<i16> for u32
source§fn try_from(u: i16) -> Result<u32, <u32 as TryFrom<i16>>::Error>
fn try_from(u: i16) -> Result<u32, <u32 as TryFrom<i16>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<i32> for u32
impl TryFrom<i32> for u32
source§fn try_from(u: i32) -> Result<u32, <u32 as TryFrom<i32>>::Error>
fn try_from(u: i32) -> Result<u32, <u32 as TryFrom<i32>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<i64> for u32
impl TryFrom<i64> for u32
source§fn try_from(u: i64) -> Result<u32, <u32 as TryFrom<i64>>::Error>
fn try_from(u: i64) -> Result<u32, <u32 as TryFrom<i64>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<i8> for u32
impl TryFrom<i8> for u32
source§fn try_from(u: i8) -> Result<u32, <u32 as TryFrom<i8>>::Error>
fn try_from(u: i8) -> Result<u32, <u32 as TryFrom<i8>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<isize> for u32
impl TryFrom<isize> for u32
source§fn try_from(u: isize) -> Result<u32, <u32 as TryFrom<isize>>::Error>
fn try_from(u: isize) -> Result<u32, <u32 as TryFrom<isize>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<u128> for u32
impl TryFrom<u128> for u32
source§fn try_from(u: u128) -> Result<u32, <u32 as TryFrom<u128>>::Error>
fn try_from(u: u128) -> Result<u32, <u32 as TryFrom<u128>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<u64> for u32
impl TryFrom<u64> for u32
source§fn try_from(u: u64) -> Result<u32, <u32 as TryFrom<u64>>::Error>
fn try_from(u: u64) -> Result<u32, <u32 as TryFrom<u64>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<usize> for u32
impl TryFrom<usize> for u32
source§fn try_from(u: usize) -> Result<u32, <u32 as TryFrom<usize>>::Error>
fn try_from(u: usize) -> Result<u32, <u32 as TryFrom<usize>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
source§impl WrappingAdd for u32
impl WrappingAdd for u32
source§fn wrapping_add(&self, v: &u32) -> u32
fn wrapping_add(&self, v: &u32) -> u32
self + other, wrapping around at the boundary of
the type.source§impl WrappingMul for u32
impl WrappingMul for u32
source§fn wrapping_mul(&self, v: &u32) -> u32
fn wrapping_mul(&self, v: &u32) -> u32
self * other, wrapping around at the boundary
of the type.source§impl WrappingNeg for u32
impl WrappingNeg for u32
source§fn wrapping_neg(&self) -> u32
fn wrapping_neg(&self) -> u32
-self,
wrapping around at the boundary of the type. Read moresource§impl WrappingShl for u32
impl WrappingShl for u32
source§impl WrappingShr for u32
impl WrappingShr for u32
source§impl WrappingSub for u32
impl WrappingSub for u32
source§fn wrapping_sub(&self, v: &u32) -> u32
fn wrapping_sub(&self, v: &u32) -> u32
self - other, wrapping around at the boundary
of the type.