Primitive Type uint
[-]
[+]
Operations and constants for architecture-sized unsigned integers (uint type)
Operations and constants for architecture-sized unsigned integers (uint type)
impl Int for uintfn zero() -> uintfn one() -> uintfn min_value() -> uintfn max_value() -> uintfn count_ones(self) -> uintfn leading_zeros(self) -> uintfn trailing_zeros(self) -> uintfn rotate_left(self, n: uint) -> uintfn rotate_right(self, n: uint) -> uintfn swap_bytes(self) -> uintfn 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) -> uintfn 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: uint) -> Selfimpl UnsignedInt for uintfn is_power_of_two(self) -> boolfn next_power_of_two(self) -> Selffn checked_next_power_of_two(self) -> Option<Self>impl ToPrimitive for uintfn 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 uintfn 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 uintfn from<N: ToPrimitive>(n: N) -> Option<uint>impl FromStr for uintimpl FromStrRadix for uintfn from_str_radix(src: &str, radix: uint) -> Option<uint>impl Num for uintimpl Unsigned for uintimpl Primitive for uintimpl Zero for uintimpl One for uintimpl Bounded for uintimpl Zeroable for uintimpl Add<uint, uint> for uintimpl Sub<uint, uint> for uintimpl Mul<uint, uint> for uintimpl Div<uint, uint> for uintimpl Rem<uint, uint> for uintimpl Neg<uint> for uintimpl Not<uint> for uintimpl BitAnd<uint, uint> for uintimpl BitOr<uint, uint> for uintimpl BitXor<uint, uint> for uintimpl Shl<uint, uint> for uintimpl Shr<uint, uint> for uintimpl PartialEq for uintimpl Eq for uintimpl PartialOrd for uintfn partial_cmp(&self, other: &uint) -> Option<Ordering>fn lt(&self, other: &uint) -> boolfn le(&self, other: &uint) -> boolfn ge(&self, other: &uint) -> boolfn gt(&self, other: &uint) -> boolimpl Ord for uintimpl Clone for uintimpl Default for uintimpl Step for uintimpl<S: Writer> Hash<S> for uintfn hash(&self, state: &mut S)impl Show for uintimpl Binary for uintimpl Octal for uintimpl LowerHex for uintimpl UpperHex for uint
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).