Primitive Type uintUnstable

Operations and constants for architecture-sized unsigned integers (uint type)

Trait Implementations

impl Num for uint

impl Zero for uint

fn zero() -> uint

fn is_zero(&self) -> bool

impl One for uint

fn one() -> uint

impl Unsigned for uint

impl Bounded for uint

fn min_value() -> uint

fn max_value() -> uint

impl Primitive for uint

impl Int for uint

fn count_ones(self) -> uint

fn leading_zeros(self) -> uint

fn trailing_zeros(self) -> uint

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

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

fn swap_bytes(self) -> uint

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 uint

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 uint

fn from_int(n: int) -> Option<uint>

fn from_i8(n: i8) -> Option<uint>

fn from_i16(n: i16) -> Option<uint>

fn from_i32(n: i32) -> Option<uint>

fn from_i64(n: i64) -> Option<uint>

fn from_uint(n: uint) -> Option<uint>

fn from_u8(n: u8) -> Option<uint>

fn from_u16(n: u16) -> Option<uint>

fn from_u32(n: u32) -> Option<uint>

fn from_u64(n: u64) -> Option<uint>

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

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

impl NumCast for uint

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

impl CheckedAdd for uint

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

impl CheckedSub for uint

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

impl CheckedMul for uint

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

impl CheckedDiv for uint

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

impl Add<uint, uint> for uint

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

impl Sub<uint, uint> for uint

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

impl Mul<uint, uint> for uint

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

impl Div<uint, uint> for uint

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

impl Rem<uint, uint> for uint

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

impl Neg<uint> for uint

fn neg(&self) -> uint

impl Not<uint> for uint

fn not(&self) -> uint

impl BitAnd<uint, uint> for uint

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

impl BitOr<uint, uint> for uint

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

impl BitXor<uint, uint> for uint

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

impl Shl<uint, uint> for uint

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

impl Shr<uint, uint> for uint

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

impl PartialEq for uint

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

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

impl Eq for uint

impl PartialOrd for uint

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

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

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

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

impl Ord for uint

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

impl Clone for uint

fn clone(&self) -> uint

Return a deep copy of the value.

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

impl Default for uint

fn default() -> uint

impl Show for uint

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

impl Unsigned for uint

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

impl Binary for uint

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

impl Octal for uint

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

impl LowerHex for uint

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

impl UpperHex for uint

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