Primitive Type u32Unstable

Operations and constants for unsigned 32-bits integers (u32 type)

Trait Implementations

impl Num for u32

impl Zero for u32

fn zero() -> u32

fn is_zero(&self) -> bool

impl One for u32

fn one() -> u32

impl Unsigned for u32

impl Bounded for u32

fn min_value() -> u32

fn max_value() -> u32

impl Primitive for u32

impl Int for u32

fn count_ones(self) -> u32

fn leading_zeros(self) -> u32

fn trailing_zeros(self) -> u32

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

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

fn swap_bytes(self) -> u32

fn count_zeros(self) -> Self

fn from_be(x: Self) -> Self

fn from_le(x: Self) -> Self

fn to_be(self) -> Self

fn to_le(self) -> Self

impl ToPrimitive for u32

fn to_int(&self) -> Option<int>

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<uint>

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 u32

fn from_int(n: int) -> 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: uint) -> 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 u32

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

impl CheckedAdd for u32

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

impl CheckedSub for u32

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

impl CheckedMul for u32

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

impl CheckedDiv for u32

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

impl Add<u32, u32> for u32

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

impl Sub<u32, u32> for u32

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

impl Mul<u32, u32> for u32

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

impl Div<u32, u32> for u32

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

impl Rem<u32, u32> for u32

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

impl Neg<u32> for u32

fn neg(&self) -> u32

impl Not<u32> for u32

fn not(&self) -> u32

impl BitAnd<u32, u32> for u32

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

impl BitOr<u32, u32> for u32

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

impl BitXor<u32, u32> for u32

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

impl Shl<u32, u32> for u32

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

impl Shr<u32, u32> for u32

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

impl PartialEq for u32

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

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

impl Eq for u32

impl PartialOrd for u32

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

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

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

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

impl Ord for u32

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

impl Clone for u32

fn clone(&self) -> u32

Return a deep copy of the value.

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

impl Default for u32

fn default() -> u32

impl Show for u32

fn fmt(&self, f: &mut Formatter) -> Result

impl Unsigned for u32

fn fmt(&self, f: &mut Formatter) -> Result

impl Binary for u32

fn fmt(&self, f: &mut Formatter) -> Result

impl Octal for u32

fn fmt(&self, f: &mut Formatter) -> Result

impl LowerHex for u32

fn fmt(&self, f: &mut Formatter) -> Result

impl UpperHex for u32

fn fmt(&self, f: &mut Formatter) -> Result