Type Alias comfy_wgpu::winit::event::ScanCode

source ·
pub type ScanCode = u32;
Expand description

Hardware-dependent keyboard scan code.

Trait Implementations§

source§

impl<'a> Add<&'a Complex<u32>> for u32

§

type Output = Complex<u32>

The resulting type after applying the + operator.
source§

fn add(self, other: &Complex<u32>) -> Complex<u32>

Performs the + operation. Read more
1.0.0 · source§

impl Add<&u32> for u32

§

type Output = <u32 as Add<u32>>::Output

The resulting type after applying the + operator.
source§

fn add(self, other: &u32) -> <u32 as Add<u32>>::Output

Performs the + operation. Read more
source§

impl Add<Complex<u32>> for u32

§

type Output = Complex<u32>

The resulting type after applying the + operator.
source§

fn add(self, other: Complex<u32>) -> <u32 as Add<Complex<u32>>>::Output

Performs the + operation. Read more
source§

impl Add<UVec2> for u32

§

type Output = UVec2

The resulting type after applying the + operator.
source§

fn add(self, rhs: UVec2) -> UVec2

Performs the + operation. Read more
source§

impl Add<UVec3> for u32

§

type Output = UVec3

The resulting type after applying the + operator.
source§

fn add(self, rhs: UVec3) -> UVec3

Performs the + operation. Read more
source§

impl Add<UVec4> for u32

§

type Output = UVec4

The resulting type after applying the + operator.
source§

fn add(self, rhs: UVec4) -> UVec4

Performs the + operation. Read more
1.0.0 · source§

impl Add<u32> for u32

§

type Output = u32

The resulting type after applying the + operator.
source§

fn add(self, other: u32) -> u32

Performs the + operation. Read more
1.22.0 · source§

impl AddAssign<&u32> for u32

source§

fn add_assign(&mut self, other: &u32)

Performs the += operation. Read more
1.8.0 · source§

impl AddAssign<u32> for u32

source§

fn add_assign(&mut self, other: u32)

Performs the += operation. Read more
§

impl AsPrimitive<NotNan<f32>> for u32

§

fn as_(self) -> NotNan<f32>

Convert a value to another, using the as operator.
§

impl AsPrimitive<NotNan<f64>> for u32

§

fn as_(self) -> NotNan<f64>

Convert a value to another, using the as operator.
§

impl AsPrimitive<OrderedFloat<f32>> for u32

§

fn as_(self) -> OrderedFloat<f32>

Convert a value to another, using the as operator.
§

impl AsPrimitive<OrderedFloat<f64>> for u32

§

fn as_(self) -> OrderedFloat<f64>

Convert a value to another, using the as operator.
source§

impl AsPrimitive<f32> for u32

source§

fn as_(self) -> f32

Convert a value to another, using the as operator.
source§

impl AsPrimitive<f64> for u32

source§

fn as_(self) -> f64

Convert a value to another, using the as operator.
source§

impl AsPrimitive<i128> for u32

source§

fn as_(self) -> i128

Convert a value to another, using the as operator.
source§

impl AsPrimitive<i16> for u32

source§

fn as_(self) -> i16

Convert a value to another, using the as operator.
source§

impl AsPrimitive<i32> for u32

source§

fn as_(self) -> i32

Convert a value to another, using the as operator.
source§

impl AsPrimitive<i64> for u32

source§

fn as_(self) -> i64

Convert a value to another, using the as operator.
source§

impl AsPrimitive<i8> for u32

source§

fn as_(self) -> i8

Convert a value to another, using the as operator.
source§

impl AsPrimitive<isize> for u32

source§

fn as_(self) -> isize

Convert a value to another, using the as operator.
source§

impl AsPrimitive<u128> for u32

source§

fn as_(self) -> u128

Convert a value to another, using the as operator.
source§

impl AsPrimitive<u16> for u32

source§

fn as_(self) -> u16

Convert a value to another, using the as operator.
source§

impl AsPrimitive<u32> for u32

source§

fn as_(self) -> u32

Convert a value to another, using the as operator.
source§

impl AsPrimitive<u64> for u32

source§

fn as_(self) -> u64

Convert a value to another, using the as operator.
source§

impl AsPrimitive<u8> for u32

source§

fn as_(self) -> u8

Convert a value to another, using the as operator.
source§

impl AsPrimitive<usize> for u32

source§

fn as_(self) -> usize

Convert a value to another, using the as operator.
1.0.0 · source§

impl Binary for u32

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
1.0.0 · source§

impl BitAnd<&u32> for u32

§

type Output = <u32 as BitAnd<u32>>::Output

The resulting type after applying the & operator.
source§

fn bitand(self, other: &u32) -> <u32 as BitAnd<u32>>::Output

Performs the & operation. Read more
1.0.0 · source§

impl BitAnd<u32> for u32

§

type Output = u32

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: u32) -> u32

Performs the & operation. Read more
1.22.0 · source§

impl BitAndAssign<&u32> for u32

source§

fn bitand_assign(&mut self, other: &u32)

Performs the &= operation. Read more
1.8.0 · source§

impl BitAndAssign<u32> for u32

source§

fn bitand_assign(&mut self, other: u32)

Performs the &= operation. Read more
1.0.0 · source§

impl BitOr<&u32> for u32

§

type Output = <u32 as BitOr<u32>>::Output

The resulting type after applying the | operator.
source§

fn bitor(self, other: &u32) -> <u32 as BitOr<u32>>::Output

Performs the | operation. Read more
1.45.0 · source§

impl BitOr<NonZeroU32> for u32

§

type Output = NonZeroU32

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: NonZeroU32) -> <u32 as BitOr<NonZeroU32>>::Output

Performs the | operation. Read more
1.0.0 · source§

impl BitOr<u32> for u32

§

type Output = u32

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: u32) -> u32

Performs the | operation. Read more
1.22.0 · source§

impl BitOrAssign<&u32> for u32

source§

fn bitor_assign(&mut self, other: &u32)

Performs the |= operation. Read more
1.8.0 · source§

impl BitOrAssign<u32> for u32

source§

fn bitor_assign(&mut self, other: u32)

Performs the |= operation. Read more
1.0.0 · source§

impl BitXor<&u32> for u32

§

type Output = <u32 as BitXor<u32>>::Output

The resulting type after applying the ^ operator.
source§

fn bitxor(self, other: &u32) -> <u32 as BitXor<u32>>::Output

Performs the ^ operation. Read more
1.0.0 · source§

impl BitXor<u32> for u32

§

type Output = u32

The resulting type after applying the ^ operator.
source§

fn bitxor(self, other: u32) -> u32

Performs the ^ operation. Read more
1.22.0 · source§

impl BitXorAssign<&u32> for u32

source§

fn bitxor_assign(&mut self, other: &u32)

Performs the ^= operation. Read more
1.8.0 · source§

impl BitXorAssign<u32> for u32

source§

fn bitxor_assign(&mut self, other: u32)

Performs the ^= operation. Read more
source§

impl Bounded for u32

source§

fn min_value() -> u32

Returns the smallest finite number this type can represent
source§

fn max_value() -> u32

Returns the largest finite number this type can represent
source§

impl CheckedAdd for u32

source§

fn checked_add(&self, v: &u32) -> Option<u32>

Adds two numbers, checking for overflow. If overflow happens, None is returned.
source§

impl CheckedDiv for u32

source§

fn checked_div(&self, v: &u32) -> Option<u32>

Divides two numbers, checking for underflow, overflow and division by zero. If any of that happens, None is returned.
source§

impl CheckedEuclid for u32

source§

fn checked_div_euclid(&self, v: &u32) -> Option<u32>

Performs euclid division that returns None instead of panicking on division by zero and instead of wrapping around on underflow and overflow.
source§

fn checked_rem_euclid(&self, v: &u32) -> Option<u32>

Finds the euclid remainder of dividing two numbers, checking for underflow, overflow and division by zero. If any of that happens, None is returned.
source§

impl CheckedMul for u32

source§

fn checked_mul(&self, v: &u32) -> Option<u32>

Multiplies two numbers, checking for underflow or overflow. If underflow or overflow happens, None is returned.
source§

impl CheckedNeg for u32

source§

fn checked_neg(&self) -> Option<u32>

Negates a number, returning None for results that can’t be represented, like signed MIN values that can’t be positive, or non-zero unsigned values that can’t be negative. Read more
source§

impl CheckedRem for u32

source§

fn checked_rem(&self, v: &u32) -> Option<u32>

Finds the remainder of dividing two numbers, checking for underflow, overflow and division by zero. If any of that happens, None is returned. Read more
source§

impl CheckedShl for u32

source§

fn checked_shl(&self, rhs: u32) -> Option<u32>

Checked shift left. Computes self << rhs, returning None if rhs is larger than or equal to the number of bits in self. Read more
source§

impl CheckedShr for u32

source§

fn checked_shr(&self, rhs: u32) -> Option<u32>

Checked shift right. Computes self >> rhs, returning None if rhs is larger than or equal to the number of bits in self. Read more
source§

impl CheckedSub for u32

source§

fn checked_sub(&self, v: &u32) -> Option<u32>

Subtracts two numbers, checking for underflow. If underflow happens, None is returned.
1.0.0 · source§

impl Clone for u32

source§

fn clone(&self) -> u32

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Contiguous for u32

§

type Int = u32

The primitive integer type with an identical representation to this type. Read more
source§

const MAX_VALUE: u32 = 4_294_967_295u32

The upper inclusive bound for valid instances of this type.
source§

const MIN_VALUE: u32 = 0u32

The lower inclusive bound for valid instances of this type.
source§

fn from_integer(value: Self::Int) -> Option<Self>

If value is within the range for valid instances of this type, returns Some(converted_value), otherwise, returns None. Read more
source§

fn into_integer(self) -> Self::Int

Perform the conversion from C into the underlying integral type. This mostly exists otherwise generic code would need unsafe for the value as integer Read more
§

impl DeBin for u32

§

fn de_bin(o: &mut usize, d: &[u8]) -> Result<u32, DeBinErr>

Parse Self from the input bytes starting at index offset. Read more
§

fn deserialize_bin(d: &[u8]) -> Result<Self, DeBinErr>

Parse Self from the input bytes. Read more
§

impl DeJson for u32

§

fn de_json(s: &mut DeJsonState, i: &mut Chars<'_>) -> Result<u32, DeJsonErr>

Parse Self from the input string. Read more
§

fn deserialize_json(input: &str) -> Result<Self, DeJsonErr>

Parse Self from the input string. Read more
§

impl DeRon for u32

§

fn de_ron(s: &mut DeRonState, i: &mut Chars<'_>) -> Result<u32, DeRonErr>

Parse Self from a RON string. Read more
§

fn deserialize_ron(input: &str) -> Result<Self, DeRonErr>

Parse Self from a RON string. Read more
1.0.0 · source§

impl Debug for u32

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
1.0.0 · source§

impl Default for u32

source§

fn default() -> u32

Returns the default value of 0

1.0.0 · source§

impl Display for u32

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'a> Div<&'a Complex<u32>> for u32

§

type Output = Complex<u32>

The resulting type after applying the / operator.
source§

fn div(self, other: &Complex<u32>) -> Complex<u32>

Performs the / operation. Read more
1.0.0 · source§

impl Div<&u32> for u32

§

type Output = <u32 as Div<u32>>::Output

The resulting type after applying the / operator.
source§

fn div(self, other: &u32) -> <u32 as Div<u32>>::Output

Performs the / operation. Read more
source§

impl Div<Complex<u32>> for u32

§

type Output = Complex<u32>

The resulting type after applying the / operator.
source§

fn div(self, other: Complex<u32>) -> <u32 as Div<Complex<u32>>>::Output

Performs the / operation. Read more
1.51.0 · source§

impl Div<NonZeroU32> for u32

source§

fn div(self, other: NonZeroU32) -> u32

This operation rounds towards zero, truncating any fractional part of the exact result, and cannot panic.

§

type Output = u32

The resulting type after applying the / operator.
source§

impl Div<UVec2> for u32

§

type Output = UVec2

The resulting type after applying the / operator.
source§

fn div(self, rhs: UVec2) -> UVec2

Performs the / operation. Read more
source§

impl Div<UVec3> for u32

§

type Output = UVec3

The resulting type after applying the / operator.
source§

fn div(self, rhs: UVec3) -> UVec3

Performs the / operation. Read more
source§

impl Div<UVec4> for u32

§

type Output = UVec4

The resulting type after applying the / operator.
source§

fn div(self, rhs: UVec4) -> UVec4

Performs the / operation. Read more
1.0.0 · source§

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.

§

type Output = u32

The resulting type after applying the / operator.
source§

fn div(self, other: u32) -> u32

Performs the / operation. Read more
1.22.0 · source§

impl DivAssign<&u32> for u32

source§

fn div_assign(&mut self, other: &u32)

Performs the /= operation. Read more
1.8.0 · source§

impl DivAssign<u32> for u32

source§

fn div_assign(&mut self, other: u32)

Performs the /= operation. Read more
source§

impl Euclid for u32

source§

fn div_euclid(&self, v: &u32) -> u32

Calculates Euclidean division, the matching method for rem_euclid. Read more
source§

fn rem_euclid(&self, v: &u32) -> u32

Calculates the least nonnegative remainder of self (mod v). Read more
1.1.0 · source§

impl From<Ipv4Addr> for u32

source§

fn from(ip: Ipv4Addr) -> u32

Uses Ipv4Addr::to_bits to convert an IPv4 address to a host byte order u32.

1.31.0 · source§

impl From<NonZeroU32> for u32

source§

fn from(nonzero: NonZeroU32) -> u32

Converts a NonZeroU32 into an u32

1.28.0 · source§

impl From<bool> for u32

source§

fn from(small: bool) -> u32

Converts a bool to a u32. The resulting value is 0 for false and 1 for true values.

Examples
assert_eq!(u32::from(true), 1);
assert_eq!(u32::from(false), 0);
1.13.0 · source§

impl From<char> for u32

source§

fn from(c: char) -> u32

Converts a char into a u32.

Examples
use std::mem;

let c = 'c';
let u = u32::from(c);
assert!(4 == mem::size_of_val(&u))
1.5.0 · source§

impl From<u16> for u32

source§

fn from(small: u16) -> u32

Converts u16 to u32 losslessly.

1.5.0 · source§

impl From<u8> for u32

source§

fn from(small: u8) -> u32

Converts u8 to u32 losslessly.

source§

impl FromBytes for u32

§

type Bytes = [u8; 4]

source§

fn from_be_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its representation as a byte array in big endian. Read more
source§

fn from_le_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its representation as a byte array in little endian. Read more
source§

fn from_ne_bytes(bytes: &<u32 as FromBytes>::Bytes) -> u32

Create a number from its memory representation as a byte array in native endianness. Read more
source§

impl FromPrimitive for u32

source§

fn from_isize(n: isize) -> Option<u32>

Converts an 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>

Converts an 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>

Converts an 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>

Converts an 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>

Converts an 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>

Converts an i128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
source§

fn from_usize(n: usize) -> Option<u32>

Converts a 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>

Converts an 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>

Converts an 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>

Converts an 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>

Converts an 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>

Converts an u128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
source§

fn from_f32(n: f32) -> Option<u32>

Converts a f32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_f64(n: f64) -> Option<u32>

Converts a f64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
1.0.0 · source§

impl FromStr for u32

§

type Err = ParseIntError

The associated error which can be returned from parsing.
source§

fn from_str(src: &str) -> Result<u32, ParseIntError>

Parses a string s to return a value of this type. Read more
1.0.0 · source§

impl Hash for u32

source§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher. Read more
source§

fn hash_slice<H>(data: &[u32], state: &mut H)where H: Hasher,

Feeds a slice of this type into the given Hasher. Read more
1.42.0 · source§

impl LowerExp for u32

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
1.0.0 · source§

impl LowerHex for u32

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
source§

impl<'a> Mul<&'a Complex<u32>> for u32

§

type Output = Complex<u32>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Complex<u32>) -> Complex<u32>

Performs the * operation. Read more
1.0.0 · source§

impl Mul<&u32> for u32

§

type Output = <u32 as Mul<u32>>::Output

The resulting type after applying the * operator.
source§

fn mul(self, other: &u32) -> <u32 as Mul<u32>>::Output

Performs the * operation. Read more
source§

impl Mul<Complex<u32>> for u32

§

type Output = Complex<u32>

The resulting type after applying the * operator.
source§

fn mul(self, other: Complex<u32>) -> <u32 as Mul<Complex<u32>>>::Output

Performs the * operation. Read more
1.31.0 · source§

impl Mul<Duration> for u32

§

type Output = Duration

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Duration) -> Duration

Performs the * operation. Read more
source§

impl Mul<UVec2> for u32

§

type Output = UVec2

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UVec2) -> UVec2

Performs the * operation. Read more
source§

impl Mul<UVec3> for u32

§

type Output = UVec3

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UVec3) -> UVec3

Performs the * operation. Read more
source§

impl Mul<UVec4> for u32

§

type Output = UVec4

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UVec4) -> UVec4

Performs the * operation. Read more
1.0.0 · source§

impl Mul<u32> for u32

§

type Output = u32

The resulting type after applying the * operator.
source§

fn mul(self, other: u32) -> u32

Performs the * operation. Read more
source§

impl MulAdd<u32, u32> for u32

§

type Output = u32

The resulting type after applying the fused multiply-add.
source§

fn mul_add(self, a: u32, b: u32) -> <u32 as MulAdd<u32, u32>>::Output

Performs the fused multiply-add operation (self * a) + b
source§

impl MulAddAssign<u32, u32> for u32

source§

fn mul_add_assign(&mut self, a: u32, b: u32)

Performs the fused multiply-add assignment operation *self = (*self * a) + b
1.22.0 · source§

impl MulAssign<&u32> for u32

source§

fn mul_assign(&mut self, other: &u32)

Performs the *= operation. Read more
1.8.0 · source§

impl MulAssign<u32> for u32

source§

fn mul_assign(&mut self, other: u32)

Performs the *= operation. Read more
1.0.0 · source§

impl Not for u32

§

type Output = u32

The resulting type after applying the ! operator.
source§

fn not(self) -> u32

Performs the unary ! operation. Read more
source§

impl Num for u32

§

type FromStrRadixErr = ParseIntError

source§

fn from_str_radix(s: &str, radix: u32) -> Result<u32, ParseIntError>

Convert from a string and radix (typically 2..=36). Read more
source§

impl NumCast for u32

source§

fn from<N>(n: N) -> Option<u32>where N: ToPrimitive,

Creates a number from another value that can be converted into a primitive via the ToPrimitive trait. If the source value cannot be represented by the target type, then None is returned. Read more
§

impl NumExt for u32

§

fn at_least(self, lower_limit: u32) -> u32

More readable version of self.max(lower_limit)
§

fn at_most(self, upper_limit: u32) -> u32

More readable version of self.min(upper_limit)
§

impl Numeric for u32

§

const INTEGRAL: bool = true

Is this an integer type?
§

const MIN: u32 = 0u32

Smallest finite value
§

const MAX: u32 = 4_294_967_295u32

Largest finite value
§

fn to_f64(self) -> f64

§

fn from_f64(num: f64) -> u32

1.0.0 · source§

impl Octal for u32

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
source§

impl One for u32

source§

fn one() -> u32

Returns the multiplicative identity element of Self, 1. Read more
source§

fn is_one(&self) -> bool

Returns true if self is equal to the multiplicative identity. Read more
source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
1.0.0 · source§

impl Ord for u32

source§

fn cmp(&self, other: &u32) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl OverflowingAdd for u32

source§

fn overflowing_add(&self, v: &u32) -> (u32, bool)

Returns a tuple of the sum along with a boolean indicating whether an arithmetic overflow would occur. If an overflow would have occurred then the wrapped value is returned.
source§

impl OverflowingMul for u32

source§

fn overflowing_mul(&self, v: &u32) -> (u32, bool)

Returns a tuple of the product along with a boolean indicating whether an arithmetic overflow would occur. If an overflow would have occurred then the wrapped value is returned.
source§

impl OverflowingSub for u32

source§

fn overflowing_sub(&self, v: &u32) -> (u32, bool)

Returns a tuple of the difference along with a boolean indicating whether an arithmetic overflow would occur. If an overflow would have occurred then the wrapped value is returned.
1.0.0 · source§

impl PartialEq<u32> for u32

source§

fn eq(&self, other: &u32) -> bool

This method tests for self and other values to be equal, and is used by ==.
source§

fn ne(&self, other: &u32) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.0.0 · source§

impl PartialOrd<u32> for u32

source§

fn partial_cmp(&self, other: &u32) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
source§

fn lt(&self, other: &u32) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
source§

fn le(&self, other: &u32) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
source§

fn ge(&self, other: &u32) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

fn gt(&self, other: &u32) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
source§

impl Pixel for u32

source§

fn from_f64(f: f64) -> u32

source§

fn cast<P>(self) -> Pwhere P: Pixel,

source§

impl<'a> Pow<&'a u16> for u32

§

type Output = u32

The result after applying the operator.
source§

fn pow(self, rhs: &'a u16) -> u32

Returns self to the power rhs. Read more
source§

impl<'a> Pow<&'a u32> for u32

§

type Output = u32

The result after applying the operator.
source§

fn pow(self, rhs: &'a u32) -> u32

Returns self to the power rhs. Read more
source§

impl<'a> Pow<&'a u8> for u32

§

type Output = u32

The result after applying the operator.
source§

fn pow(self, rhs: &'a u8) -> u32

Returns self to the power rhs. Read more
source§

impl<'a> Pow<&'a usize> for u32

§

type Output = u32

The result after applying the operator.
source§

fn pow(self, rhs: &'a usize) -> u32

Returns self to the power rhs. Read more
source§

impl Pow<u16> for u32

§

type Output = u32

The result after applying the operator.
source§

fn pow(self, rhs: u16) -> u32

Returns self to the power rhs. Read more
source§

impl Pow<u32> for u32

§

type Output = u32

The result after applying the operator.
source§

fn pow(self, rhs: u32) -> u32

Returns self to the power rhs. Read more
source§

impl Pow<u8> for u32

§

type Output = u32

The result after applying the operator.
source§

fn pow(self, rhs: u8) -> u32

Returns self to the power rhs. Read more
source§

impl Pow<usize> for u32

§

type Output = u32

The result after applying the operator.
source§

fn pow(self, rhs: usize) -> u32

Returns self to the power rhs. Read more
source§

impl PrimInt for u32

source§

fn count_ones(self) -> u32

Returns the number of ones in the binary representation of self. Read more
source§

fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation of self. Read more
source§

fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation of self. Read more
source§

fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation of self. Read more
source§

fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation of self. Read more
source§

fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation of self. Read more
source§

fn rotate_left(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, wrapping the truncated bits to the end of the resulting integer. Read more
source§

fn rotate_right(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, wrapping the truncated bits to the beginning of the resulting integer. Read more
source§

fn signed_shl(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, filling zeros in the least significant bits. Read more
source§

fn signed_shr(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, copying the “sign bit” in the most significant bits even for unsigned types. Read more
source§

fn unsigned_shl(self, n: u32) -> u32

Shifts the bits to the left by a specified amount, n, filling zeros in the least significant bits. Read more
source§

fn unsigned_shr(self, n: u32) -> u32

Shifts the bits to the right by a specified amount, n, filling zeros in the most significant bits. Read more
source§

fn swap_bytes(self) -> u32

Reverses the byte order of the integer. Read more
source§

fn reverse_bits(self) -> u32

Reverses the order of bits in the integer. Read more
source§

fn from_be(x: u32) -> u32

Convert an integer from big endian to the target’s endianness. Read more
source§

fn from_le(x: u32) -> u32

Convert an integer from little endian to the target’s endianness. Read more
source§

fn to_be(self) -> u32

Convert self to big endian from the target’s endianness. Read more
source§

fn to_le(self) -> u32

Convert self to little endian from the target’s endianness. Read more
source§

fn pow(self, exp: u32) -> u32

Raises self to the power of exp, using exponentiation by squaring. Read more
source§

impl Primitive for u32

source§

const DEFAULT_MAX_VALUE: u32 = 4_294_967_295u32

The maximum value for this type of primitive within the context of color. For floats, the maximum is 1.0, whereas the integer types inherit their usual maximum values.
source§

const DEFAULT_MIN_VALUE: u32 = 0u32

The minimum value for this type of primitive within the context of color. For floats, the minimum is 0.0, whereas the integer types inherit their usual minimum values.
1.12.0 · source§

impl<'a> Product<&'a u32> for u32

source§

fn product<I>(iter: I) -> u32where I: Iterator<Item = &'a u32>,

Method which takes an iterator and generates Self from the elements by multiplying the items.
1.12.0 · source§

impl Product<u32> for u32

source§

fn product<I>(iter: I) -> u32where I: Iterator<Item = u32>,

Method which takes an iterator and generates Self from the elements by multiplying the items.
source§

impl RandomRange for u32

source§

fn gen_range(low: u32, high: u32) -> u32

source§

impl<'a> Rem<&'a Complex<u32>> for u32

§

type Output = Complex<u32>

The resulting type after applying the % operator.
source§

fn rem(self, other: &Complex<u32>) -> Complex<u32>

Performs the % operation. Read more
1.0.0 · source§

impl Rem<&u32> for u32

§

type Output = <u32 as Rem<u32>>::Output

The resulting type after applying the % operator.
source§

fn rem(self, other: &u32) -> <u32 as Rem<u32>>::Output

Performs the % operation. Read more
source§

impl Rem<Complex<u32>> for u32

§

type Output = Complex<u32>

The resulting type after applying the % operator.
source§

fn rem(self, other: Complex<u32>) -> <u32 as Rem<Complex<u32>>>::Output

Performs the % operation. Read more
1.51.0 · source§

impl Rem<NonZeroU32> for u32

source§

fn rem(self, other: NonZeroU32) -> u32

This operation satisfies n % d == n - (n / d) * d, and cannot panic.

§

type Output = u32

The resulting type after applying the % operator.
source§

impl Rem<UVec2> for u32

§

type Output = UVec2

The resulting type after applying the % operator.
source§

fn rem(self, rhs: UVec2) -> UVec2

Performs the % operation. Read more
source§

impl Rem<UVec3> for u32

§

type Output = UVec3

The resulting type after applying the % operator.
source§

fn rem(self, rhs: UVec3) -> UVec3

Performs the % operation. Read more
source§

impl Rem<UVec4> for u32

§

type Output = UVec4

The resulting type after applying the % operator.
source§

fn rem(self, rhs: UVec4) -> UVec4

Performs the % operation. Read more
1.0.0 · source§

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.

§

type Output = u32

The resulting type after applying the % operator.
source§

fn rem(self, other: u32) -> u32

Performs the % operation. Read more
1.22.0 · source§

impl RemAssign<&u32> for u32

source§

fn rem_assign(&mut self, other: &u32)

Performs the %= operation. Read more
1.8.0 · source§

impl RemAssign<u32> for u32

source§

fn rem_assign(&mut self, other: u32)

Performs the %= operation. Read more
source§

impl SampleUniform for u32

§

type Sampler = UniformInt<u32>

The UniformSampler implementation supporting type X.
source§

impl Saturating for u32

source§

fn saturating_add(self, v: u32) -> u32

Saturating addition operator. Returns a+b, saturating at the numeric bounds instead of overflowing.
source§

fn saturating_sub(self, v: u32) -> u32

Saturating subtraction operator. Returns a-b, saturating at the numeric bounds instead of overflowing.
source§

impl SaturatingAdd for u32

source§

fn saturating_add(&self, v: &u32) -> u32

Saturating addition. Computes self + other, saturating at the relevant high or low boundary of the type.
source§

impl SaturatingMul for u32

source§

fn saturating_mul(&self, v: &u32) -> u32

Saturating multiplication. Computes self * other, saturating at the relevant high or low boundary of the type.
source§

impl SaturatingSub for u32

source§

fn saturating_sub(&self, v: &u32) -> u32

Saturating subtraction. Computes self - other, saturating at the relevant high or low boundary of the type.
§

impl SerBin for u32

§

fn ser_bin(&self, s: &mut Vec<u8, Global>)

Serialize Self to bytes. Read more
§

fn serialize_bin(&self) -> Vec<u8, Global>

Serialize Self to bytes. Read more
§

impl SerJson for u32

§

fn ser_json(&self, _d: usize, s: &mut SerJsonState)

Serialize Self to a JSON string. Read more
§

fn serialize_json(&self) -> String

Serialize Self to a JSON string. Read more
§

impl SerRon for u32

§

fn ser_ron(&self, _d: usize, s: &mut SerRonState)

Serialize Self to a RON string. Read more
§

fn serialize_ron(&self) -> String

Serialize Self to a RON string. Read more
1.0.0 · source§

impl Shl<&i128> for u32

§

type Output = <u32 as Shl<i128>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &i128) -> <u32 as Shl<i128>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&i16> for u32

§

type Output = <u32 as Shl<i16>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &i16) -> <u32 as Shl<i16>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&i32> for u32

§

type Output = <u32 as Shl<i32>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &i32) -> <u32 as Shl<i32>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&i64> for u32

§

type Output = <u32 as Shl<i64>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &i64) -> <u32 as Shl<i64>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&i8> for u32

§

type Output = <u32 as Shl<i8>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &i8) -> <u32 as Shl<i8>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&isize> for u32

§

type Output = <u32 as Shl<isize>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &isize) -> <u32 as Shl<isize>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&u128> for u32

§

type Output = <u32 as Shl<u128>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &u128) -> <u32 as Shl<u128>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&u16> for u32

§

type Output = <u32 as Shl<u16>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &u16) -> <u32 as Shl<u16>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&u32> for u32

§

type Output = <u32 as Shl<u32>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &u32) -> <u32 as Shl<u32>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&u64> for u32

§

type Output = <u32 as Shl<u64>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &u64) -> <u32 as Shl<u64>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&u8> for u32

§

type Output = <u32 as Shl<u8>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &u8) -> <u32 as Shl<u8>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&usize> for u32

§

type Output = <u32 as Shl<usize>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &usize) -> <u32 as Shl<usize>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<i128> for u32

§

type Output = u32

The resulting type after applying the << operator.
source§

fn shl(self, other: i128) -> u32

Performs the << operation. Read more
1.0.0 · source§

impl Shl<i16> for u32

§

type Output = u32

The resulting type after applying the << operator.
source§

fn shl(self, other: i16) -> u32

Performs the << operation. Read more
1.0.0 · source§

impl Shl<i32> for u32

§

type Output = u32

The resulting type after applying the << operator.
source§

fn shl(self, other: i32) -> u32

Performs the << operation. Read more
1.0.0 · source§

impl Shl<i64> for u32

§

type Output = u32

The resulting type after applying the << operator.
source§

fn shl(self, other: i64) -> u32

Performs the << operation. Read more
1.0.0 · source§

impl Shl<i8> for u32

§

type Output = u32

The resulting type after applying the << operator.
source§

fn shl(self, other: i8) -> u32

Performs the << operation. Read more
1.0.0 · source§

impl Shl<isize> for u32

§

type Output = u32

The resulting type after applying the << operator.
source§

fn shl(self, other: isize) -> u32

Performs the << operation. Read more
1.0.0 · source§

impl Shl<u128> for u32

§

type Output = u32

The resulting type after applying the << operator.
source§

fn shl(self, other: u128) -> u32

Performs the << operation. Read more
1.0.0 · source§

impl Shl<u16> for u32

§

type Output = u32

The resulting type after applying the << operator.
source§

fn shl(self, other: u16) -> u32

Performs the << operation. Read more
1.0.0 · source§

impl Shl<u32> for u32

§

type Output = u32

The resulting type after applying the << operator.
source§

fn shl(self, other: u32) -> u32

Performs the << operation. Read more
1.0.0 · source§

impl Shl<u64> for u32

§

type Output = u32

The resulting type after applying the << operator.
source§

fn shl(self, other: u64) -> u32

Performs the << operation. Read more
1.0.0 · source§

impl Shl<u8> for u32

§

type Output = u32

The resulting type after applying the << operator.
source§

fn shl(self, other: u8) -> u32

Performs the << operation. Read more
1.0.0 · source§

impl Shl<usize> for u32

§

type Output = u32

The resulting type after applying the << operator.
source§

fn shl(self, other: usize) -> u32

Performs the << operation. Read more
1.22.0 · source§

impl ShlAssign<&i128> for u32

source§

fn shl_assign(&mut self, other: &i128)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&i16> for u32

source§

fn shl_assign(&mut self, other: &i16)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&i32> for u32

source§

fn shl_assign(&mut self, other: &i32)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&i64> for u32

source§

fn shl_assign(&mut self, other: &i64)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&i8> for u32

source§

fn shl_assign(&mut self, other: &i8)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&isize> for u32

source§

fn shl_assign(&mut self, other: &isize)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&u128> for u32

source§

fn shl_assign(&mut self, other: &u128)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&u16> for u32

source§

fn shl_assign(&mut self, other: &u16)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&u32> for u32

source§

fn shl_assign(&mut self, other: &u32)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&u64> for u32

source§

fn shl_assign(&mut self, other: &u64)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&u8> for u32

source§

fn shl_assign(&mut self, other: &u8)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&usize> for u32

source§

fn shl_assign(&mut self, other: &usize)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<i128> for u32

source§

fn shl_assign(&mut self, other: i128)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<i16> for u32

source§

fn shl_assign(&mut self, other: i16)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<i32> for u32

source§

fn shl_assign(&mut self, other: i32)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<i64> for u32

source§

fn shl_assign(&mut self, other: i64)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<i8> for u32

source§

fn shl_assign(&mut self, other: i8)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<isize> for u32

source§

fn shl_assign(&mut self, other: isize)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<u128> for u32

source§

fn shl_assign(&mut self, other: u128)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<u16> for u32

source§

fn shl_assign(&mut self, other: u16)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<u32> for u32

source§

fn shl_assign(&mut self, other: u32)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<u64> for u32

source§

fn shl_assign(&mut self, other: u64)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<u8> for u32

source§

fn shl_assign(&mut self, other: u8)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<usize> for u32

source§

fn shl_assign(&mut self, other: usize)

Performs the <<= operation. Read more
1.0.0 · source§

impl Shr<&i128> for u32

§

type Output = <u32 as Shr<i128>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &i128) -> <u32 as Shr<i128>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&i16> for u32

§

type Output = <u32 as Shr<i16>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &i16) -> <u32 as Shr<i16>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&i32> for u32

§

type Output = <u32 as Shr<i32>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &i32) -> <u32 as Shr<i32>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&i64> for u32

§

type Output = <u32 as Shr<i64>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &i64) -> <u32 as Shr<i64>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&i8> for u32

§

type Output = <u32 as Shr<i8>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &i8) -> <u32 as Shr<i8>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&isize> for u32

§

type Output = <u32 as Shr<isize>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &isize) -> <u32 as Shr<isize>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&u128> for u32

§

type Output = <u32 as Shr<u128>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &u128) -> <u32 as Shr<u128>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&u16> for u32

§

type Output = <u32 as Shr<u16>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &u16) -> <u32 as Shr<u16>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&u32> for u32

§

type Output = <u32 as Shr<u32>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &u32) -> <u32 as Shr<u32>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&u64> for u32

§

type Output = <u32 as Shr<u64>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &u64) -> <u32 as Shr<u64>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&u8> for u32

§

type Output = <u32 as Shr<u8>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &u8) -> <u32 as Shr<u8>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&usize> for u32

§

type Output = <u32 as Shr<usize>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &usize) -> <u32 as Shr<usize>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<i128> for u32

§

type Output = u32

The resulting type after applying the >> operator.
source§

fn shr(self, other: i128) -> u32

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<i16> for u32

§

type Output = u32

The resulting type after applying the >> operator.
source§

fn shr(self, other: i16) -> u32

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<i32> for u32

§

type Output = u32

The resulting type after applying the >> operator.
source§

fn shr(self, other: i32) -> u32

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<i64> for u32

§

type Output = u32

The resulting type after applying the >> operator.
source§

fn shr(self, other: i64) -> u32

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<i8> for u32

§

type Output = u32

The resulting type after applying the >> operator.
source§

fn shr(self, other: i8) -> u32

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<isize> for u32

§

type Output = u32

The resulting type after applying the >> operator.
source§

fn shr(self, other: isize) -> u32

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<u128> for u32

§

type Output = u32

The resulting type after applying the >> operator.
source§

fn shr(self, other: u128) -> u32

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<u16> for u32

§

type Output = u32

The resulting type after applying the >> operator.
source§

fn shr(self, other: u16) -> u32

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<u32> for u32

§

type Output = u32

The resulting type after applying the >> operator.
source§

fn shr(self, other: u32) -> u32

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<u64> for u32

§

type Output = u32

The resulting type after applying the >> operator.
source§

fn shr(self, other: u64) -> u32

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<u8> for u32

§

type Output = u32

The resulting type after applying the >> operator.
source§

fn shr(self, other: u8) -> u32

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<usize> for u32

§

type Output = u32

The resulting type after applying the >> operator.
source§

fn shr(self, other: usize) -> u32

Performs the >> operation. Read more
1.22.0 · source§

impl ShrAssign<&i128> for u32

source§

fn shr_assign(&mut self, other: &i128)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&i16> for u32

source§

fn shr_assign(&mut self, other: &i16)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&i32> for u32

source§

fn shr_assign(&mut self, other: &i32)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&i64> for u32

source§

fn shr_assign(&mut self, other: &i64)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&i8> for u32

source§

fn shr_assign(&mut self, other: &i8)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&isize> for u32

source§

fn shr_assign(&mut self, other: &isize)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&u128> for u32

source§

fn shr_assign(&mut self, other: &u128)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&u16> for u32

source§

fn shr_assign(&mut self, other: &u16)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&u32> for u32

source§

fn shr_assign(&mut self, other: &u32)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&u64> for u32

source§

fn shr_assign(&mut self, other: &u64)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&u8> for u32

source§

fn shr_assign(&mut self, other: &u8)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&usize> for u32

source§

fn shr_assign(&mut self, other: &usize)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<i128> for u32

source§

fn shr_assign(&mut self, other: i128)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<i16> for u32

source§

fn shr_assign(&mut self, other: i16)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<i32> for u32

source§

fn shr_assign(&mut self, other: i32)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<i64> for u32

source§

fn shr_assign(&mut self, other: i64)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<i8> for u32

source§

fn shr_assign(&mut self, other: i8)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<isize> for u32

source§

fn shr_assign(&mut self, other: isize)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<u128> for u32

source§

fn shr_assign(&mut self, other: u128)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<u16> for u32

source§

fn shr_assign(&mut self, other: u16)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<u32> for u32

source§

fn shr_assign(&mut self, other: u32)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<u64> for u32

source§

fn shr_assign(&mut self, other: u64)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<u8> for u32

source§

fn shr_assign(&mut self, other: u8)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<usize> for u32

source§

fn shr_assign(&mut self, other: usize)

Performs the >>= operation. Read more
source§

impl SimdElement for u32

§

type Mask = i32

🔬This is a nightly-only experimental API. (portable_simd)
The mask element type corresponding to this element type.
source§

impl Step for u32

source§

unsafe fn forward_unchecked(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor of self count times. Read more
source§

unsafe fn backward_unchecked(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor of self count times. Read more
source§

fn forward(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor of self count times. Read more
source§

fn backward(start: u32, n: usize) -> u32

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor of self count times. Read more
source§

fn steps_between(start: &u32, end: &u32) -> Option<usize>

🔬This is a nightly-only experimental API. (step_trait)
Returns the number of successor steps required to get from start to end. Read more
source§

fn forward_checked(start: u32, n: usize) -> Option<u32>

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor of self count times. Read more
source§

fn backward_checked(start: u32, n: usize) -> Option<u32>

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor of self count times. Read more
source§

impl<'a> Sub<&'a Complex<u32>> for u32

§

type Output = Complex<u32>

The resulting type after applying the - operator.
source§

fn sub(self, other: &Complex<u32>) -> Complex<u32>

Performs the - operation. Read more
1.0.0 · source§

impl Sub<&u32> for u32

§

type Output = <u32 as Sub<u32>>::Output

The resulting type after applying the - operator.
source§

fn sub(self, other: &u32) -> <u32 as Sub<u32>>::Output

Performs the - operation. Read more
source§

impl Sub<Complex<u32>> for u32

§

type Output = Complex<u32>

The resulting type after applying the - operator.
source§

fn sub(self, other: Complex<u32>) -> <u32 as Sub<Complex<u32>>>::Output

Performs the - operation. Read more
source§

impl Sub<UVec2> for u32

§

type Output = UVec2

The resulting type after applying the - operator.
source§

fn sub(self, rhs: UVec2) -> UVec2

Performs the - operation. Read more
source§

impl Sub<UVec3> for u32

§

type Output = UVec3

The resulting type after applying the - operator.
source§

fn sub(self, rhs: UVec3) -> UVec3

Performs the - operation. Read more
source§

impl Sub<UVec4> for u32

§

type Output = UVec4

The resulting type after applying the - operator.
source§

fn sub(self, rhs: UVec4) -> UVec4

Performs the - operation. Read more
1.0.0 · source§

impl Sub<u32> for u32

§

type Output = u32

The resulting type after applying the - operator.
source§

fn sub(self, other: u32) -> u32

Performs the - operation. Read more
1.22.0 · source§

impl SubAssign<&u32> for u32

source§

fn sub_assign(&mut self, other: &u32)

Performs the -= operation. Read more
1.8.0 · source§

impl SubAssign<u32> for u32

source§

fn sub_assign(&mut self, other: u32)

Performs the -= operation. Read more
1.12.0 · source§

impl<'a> Sum<&'a u32> for u32

source§

fn sum<I>(iter: I) -> u32where I: Iterator<Item = &'a u32>,

Method which takes an iterator and generates Self from the elements by “summing up” the items.
1.12.0 · source§

impl Sum<u32> for u32

source§

fn sum<I>(iter: I) -> u32where I: Iterator<Item = u32>,

Method which takes an iterator and generates Self from the elements by “summing up” the items.
source§

impl ToBytes for u32

§

type Bytes = [u8; 4]

source§

fn to_be_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in big-endian byte order. Read more
source§

fn to_le_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in little-endian byte order. Read more
source§

fn to_ne_bytes(&self) -> <u32 as ToBytes>::Bytes

Return the memory representation of this number as a byte array in native byte order. Read more
source§

impl ToPrimitive for u32

source§

fn to_isize(&self) -> Option<isize>

Converts the value of self to an isize. If the value cannot be represented by an isize, then None is returned.
source§

fn to_i8(&self) -> Option<i8>

Converts the value of self to an i8. If the value cannot be represented by an i8, then None is returned.
source§

fn to_i16(&self) -> Option<i16>

Converts the value of self to an i16. If the value cannot be represented by an i16, then None is returned.
source§

fn to_i32(&self) -> Option<i32>

Converts the value of self to an i32. If the value cannot be represented by an i32, then None is returned.
source§

fn to_i64(&self) -> Option<i64>

Converts the value of self to an i64. If the value cannot be represented by an i64, then None is returned.
source§

fn to_i128(&self) -> Option<i128>

Converts the value of self to an i128. If the value cannot be represented by an i128 (i64 under the default implementation), then None is returned. Read more
source§

fn to_usize(&self) -> Option<usize>

Converts the value of self to a usize. If the value cannot be represented by a usize, then None is returned.
source§

fn to_u8(&self) -> Option<u8>

Converts the value of self to a u8. If the value cannot be represented by a u8, then None is returned.
source§

fn to_u16(&self) -> Option<u16>

Converts the value of self to a u16. If the value cannot be represented by a u16, then None is returned.
source§

fn to_u32(&self) -> Option<u32>

Converts the value of self to a u32. If the value cannot be represented by a u32, then None is returned.
source§

fn to_u64(&self) -> Option<u64>

Converts the value of self to a u64. If the value cannot be represented by a u64, then None is returned.
source§

fn to_u128(&self) -> Option<u128>

Converts the value of self to a u128. If the value cannot be represented by a u128 (u64 under the default implementation), then None is returned. Read more
source§

fn to_f32(&self) -> Option<f32>

Converts the value of self to an f32. Overflows may map to positive or negative inifinity, otherwise None is returned if the value cannot be represented by an f32.
source§

fn to_f64(&self) -> Option<f64>

Converts the value of self to an f64. Overflows may map to positive or negative inifinity, otherwise None is returned if the value cannot be represented by an f64. Read more
1.34.0 · source§

impl TryFrom<i128> for u32

source§

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

The type returned in the event of a conversion error.
1.34.0 · source§

impl TryFrom<i16> for u32

source§

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

The type returned in the event of a conversion error.
1.34.0 · source§

impl TryFrom<i32> for u32

source§

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

The type returned in the event of a conversion error.
1.34.0 · source§

impl TryFrom<i64> for u32

source§

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

The type returned in the event of a conversion error.
1.34.0 · source§

impl TryFrom<i8> for u32

source§

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

The type returned in the event of a conversion error.
1.34.0 · source§

impl TryFrom<isize> for u32

source§

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

The type returned in the event of a conversion error.
1.34.0 · source§

impl TryFrom<u128> for u32

source§

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

The type returned in the event of a conversion error.
1.34.0 · source§

impl TryFrom<u64> for u32

source§

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

The type returned in the event of a conversion error.
1.34.0 · source§

impl TryFrom<usize> for u32

source§

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

The type returned in the event of a conversion error.
§

impl Tweakable for u32

§

fn parse(x: &str) -> Option<u32>

1.42.0 · source§

impl UpperExp for u32

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
1.0.0 · source§

impl UpperHex for u32

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
source§

impl WrappingAdd for u32

source§

fn wrapping_add(&self, v: &u32) -> u32

Wrapping (modular) addition. Computes self + other, wrapping around at the boundary of the type.
source§

impl WrappingMul for u32

source§

fn wrapping_mul(&self, v: &u32) -> u32

Wrapping (modular) multiplication. Computes self * other, wrapping around at the boundary of the type.
source§

impl WrappingNeg for u32

source§

fn wrapping_neg(&self) -> u32

Wrapping (modular) negation. Computes -self, wrapping around at the boundary of the type. Read more
source§

impl WrappingShl for u32

source§

fn wrapping_shl(&self, rhs: u32) -> u32

Panic-free bitwise shift-left; yields self << mask(rhs), where mask removes any high order bits of rhs that would cause the shift to exceed the bitwidth of the type. Read more
source§

impl WrappingShr for u32

source§

fn wrapping_shr(&self, rhs: u32) -> u32

Panic-free bitwise shift-right; yields self >> mask(rhs), where mask removes any high order bits of rhs that would cause the shift to exceed the bitwidth of the type. Read more
source§

impl WrappingSub for u32

source§

fn wrapping_sub(&self, v: &u32) -> u32

Wrapping (modular) subtraction. Computes self - other, wrapping around at the boundary of the type.
source§

impl Zero for u32

source§

fn zero() -> u32

Returns the additive identity element of Self, 0. Read more
source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
source§

impl Zeroable for u32

source§

fn zeroed() -> Self

source§

impl ConstParamTy for u32

1.0.0 · source§

impl Copy for u32

1.0.0 · source§

impl Eq for u32

source§

impl Pod for u32

source§

impl SimdCast for u32

source§

impl StructuralEq for u32

source§

impl StructuralPartialEq for u32

source§

impl TrustedStep for u32

source§

impl Unsigned for u32