Primitive Type uint [-]  [+]

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

Trait Implementations

impl Int for uint

fn zero() -> uint

fn one() -> uint

fn min_value() -> uint

fn max_value() -> 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 checked_add(self, other: uint) -> Option<uint>

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

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

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

fn count_zeros(self) -> uint

fn from_be(x: Self) -> Self

fn from_le(x: Self) -> Self

fn to_be(self) -> Self

fn to_le(self) -> Self

fn saturating_add(self, other: Self) -> Self

fn saturating_sub(self, other: Self) -> Self

fn pow(self, exp: uint) -> Self

impl UnsignedInt for uint

fn is_power_of_two(self) -> bool

fn next_power_of_two(self) -> Self

fn checked_next_power_of_two(self) -> Option<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 FromStr for uint

fn from_str(src: &str) -> Option<uint>

impl FromStrRadix for uint

fn from_str_radix(src: &str, radix: uint) -> Option<uint>

impl Num for uint

impl Unsigned for uint

impl Primitive for uint

impl Zero for uint

fn zero() -> uint

fn is_zero(&self) -> bool

impl One for uint

fn one() -> uint

impl Bounded for uint

fn min_value() -> uint

fn max_value() -> uint

impl Zeroable for 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 partial_cmp(&self, other: &uint) -> Option<Ordering>

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

fn step(&mut self)

fn step_back(&mut self)

fn steps_between(a: &uint, b: &uint) -> Option<uint>

impl<S: Writer> Hash<S> for uint

fn hash(&self, state: &mut S)

impl Show 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