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 u32
fn zero() -> u32
fn one() -> u32
fn min_value() -> u32
fn max_value() -> u32
fn count_ones(self) -> uint
fn leading_zeros(self) -> uint
fn trailing_zeros(self) -> uint
fn rotate_left(self, n: uint) -> u32
fn rotate_right(self, n: uint) -> u32
fn swap_bytes(self) -> u32
fn 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) -> uint
fn from_be(u32) -> u32
fn from_le(u32) -> u32
fn to_be(self) -> u32
fn to_le(self) -> u32
fn saturating_add(self, u32) -> u32
fn saturating_sub(self, u32) -> u32
fn pow(self, uint) -> u32
impl UnsignedInt for u32
fn is_power_of_two(self) -> bool
fn next_power_of_two(self) -> u32
fn checked_next_power_of_two(self) -> Option<u32>
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>
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_uint(&self) -> Option<uint>
fn to_u8(&self) -> Option<u8>
fn to_u16(&self) -> Option<u16>
fn to_u32(&self) -> Option<u32>
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>
fn from_int(int) -> Option<u32>
fn from_i8(i8) -> Option<u32>
fn from_i16(i16) -> Option<u32>
fn from_i32(i32) -> Option<u32>
fn from_uint(uint) -> Option<u32>
fn from_u8(u8) -> Option<u32>
fn from_u16(u16) -> Option<u32>
fn from_u32(u32) -> Option<u32>
fn from_f32(f32) -> Option<u32>
fn from_f64(f64) -> Option<u32>
impl NumCast for u32
fn from<N: ToPrimitive>(n: N) -> Option<u32>
impl FromStr for u32
impl FromStrRadix for u32
fn from_str_radix(src: &str, radix: uint) -> Option<u32>
impl Num for u32
impl Unsigned for u32
impl Primitive for u32
impl Zero for u32
impl One for u32
impl Bounded for u32
impl Zeroable for u32
impl Add<u32, u32> for u32
impl Sub<u32, u32> for u32
impl Mul<u32, u32> for u32
impl Div<u32, u32> for u32
impl Rem<u32, u32> for u32
impl Neg<u32> for u32
impl Not<u32> for u32
impl BitAnd<u32, u32> for u32
impl BitOr<u32, u32> for u32
impl BitXor<u32, u32> for u32
impl Shl<uint, u32> for u32
impl Shr<uint, u32> for u32
impl PartialEq<u32> for u32
impl Eq for u32
fn assert_receiver_is_total_eq(&self)
impl PartialOrd<u32> for u32
fn partial_cmp(&self, other: &u32) -> Option<Ordering>
fn lt(&self, other: &u32) -> bool
fn le(&self, other: &u32) -> bool
fn ge(&self, other: &u32) -> bool
fn gt(&self, other: &u32) -> bool
fn lt(&self, &u32) -> bool
fn le(&self, &u32) -> bool
fn gt(&self, &u32) -> bool
fn ge(&self, &u32) -> bool
impl Ord for u32
impl Clone for u32
impl Default for u32
impl Step for u32
impl<S: Writer> Hash<S> for u32
fn hash(&self, state: &mut S)
impl Show for u32
impl Binary for u32
impl Octal for u32
impl LowerHex for u32
impl UpperHex for u32
impl SampleRange for u32
fn construct_range(low: u32, high: u32) -> Range<u32>
fn sample_range<R: Rng>(r: &Range<u32>, rng: &mut R) -> u32
impl Rand 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
).