Primitive Type u32
[-]
[+]
Operations and constants for unsigned 32-bits integers (u32 type)
Operations and constants for unsigned 32-bits integers (u32 type)
impl Int for u32fn zero() -> u32fn one() -> u32fn min_value() -> u32fn max_value() -> u32fn count_ones(self) -> usizefn leading_zeros(self) -> usizefn trailing_zeros(self) -> usizefn rotate_left(self, n: usize) -> u32fn rotate_right(self, n: usize) -> u32fn swap_bytes(self) -> u32fn checked_add(self, other: u32) -> Option<u32>fn checked_sub(self, other: u32) -> Option<u32>fn checked_mul(self, other: u32) -> Option<u32>fn checked_div(self, v: u32) -> Option<u32>fn count_zeros(self) -> usizefn from_be(x: Self) -> Selffn from_le(x: Self) -> Selffn to_be(self) -> Selffn to_le(self) -> Selffn saturating_add(self, other: Self) -> Selffn saturating_sub(self, other: Self) -> Selffn pow(self, exp: usize) -> Selfimpl UnsignedInt for u32fn is_power_of_two(self) -> boolfn next_power_of_two(self) -> Selffn checked_next_power_of_two(self) -> Option<Self>impl ToPrimitive for u32fn to_int(&self) -> Option<isize>fn to_i8(&self) -> Option<i8>fn to_i16(&self) -> Option<i16>fn to_i32(&self) -> Option<i32>fn to_i64(&self) -> Option<i64>fn to_uint(&self) -> Option<usize>fn to_u8(&self) -> Option<u8>fn to_u16(&self) -> Option<u16>fn to_u32(&self) -> Option<u32>fn to_u64(&self) -> Option<u64>fn to_f32(&self) -> Option<f32>fn to_f64(&self) -> Option<f64>impl FromPrimitive for u32fn from_int(n: isize) -> Option<u32>fn from_i8(n: i8) -> Option<u32>fn from_i16(n: i16) -> Option<u32>fn from_i32(n: i32) -> Option<u32>fn from_i64(n: i64) -> Option<u32>fn from_uint(n: usize) -> Option<u32>fn from_u8(n: u8) -> Option<u32>fn from_u16(n: u16) -> Option<u32>fn from_u32(n: u32) -> Option<u32>fn from_u64(n: u64) -> Option<u32>fn from_f32(n: f32) -> Option<u32>fn from_f64(n: f64) -> Option<u32>impl NumCast for u32fn from<N: ToPrimitive>(n: N) -> Option<u32>impl FromStr for u32impl FromStrRadix for u32fn from_str_radix(src: &str, radix: usize) -> Option<u32>impl Zeroable for u32impl Add for u32impl Sub for u32impl Mul for u32impl Div for u32impl Rem for u32impl Neg for u32impl Not for u32impl BitAnd for u32impl BitOr for u32impl BitXor for u32impl Shl<usize> for u32impl Shr<usize> for u32impl PartialEq for u32impl Eq for u32impl PartialOrd for u32fn partial_cmp(&self, other: &u32) -> Option<Ordering>fn lt(&self, other: &u32) -> boolfn le(&self, other: &u32) -> boolfn ge(&self, other: &u32) -> boolfn gt(&self, other: &u32) -> boolimpl Ord for u32impl Clone for u32impl Default for u32impl Step for u32fn step(&mut self)fn step_back(&mut self)fn steps_between(start: &u32, end: &u32) -> Option<usize>impl<S: Writer + Hasher> Hash<S> for u32fn hash(&self, state: &mut S)impl String for u32impl Binary for u32impl Octal for u32impl LowerHex for u32impl UpperHex for u32impl Show for u32
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).