Primitive Type u8
[-]
[+]
Operations and constants for unsigned 8-bits integers (u8
type)
Operations and constants for unsigned 8-bits integers (u8
type)
impl Int for u8
fn zero() -> u8
fn one() -> u8
fn min_value() -> u8
fn max_value() -> u8
fn count_ones(self) -> uint
fn leading_zeros(self) -> uint
fn trailing_zeros(self) -> uint
fn rotate_left(self, n: uint) -> u8
fn rotate_right(self, n: uint) -> u8
fn swap_bytes(self) -> u8
fn checked_add(self, other: u8) -> Option<u8>
fn checked_sub(self, other: u8) -> Option<u8>
fn checked_mul(self, other: u8) -> Option<u8>
fn checked_div(self, v: u8) -> Option<u8>
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 u8
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 u8
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 u8
fn from_int(n: int) -> Option<u8>
fn from_i8(n: i8) -> Option<u8>
fn from_i16(n: i16) -> Option<u8>
fn from_i32(n: i32) -> Option<u8>
fn from_i64(n: i64) -> Option<u8>
fn from_uint(n: uint) -> Option<u8>
fn from_u8(n: u8) -> Option<u8>
fn from_u16(n: u16) -> Option<u8>
fn from_u32(n: u32) -> Option<u8>
fn from_u64(n: u64) -> Option<u8>
fn from_f32(n: f32) -> Option<u8>
fn from_f64(n: f64) -> Option<u8>
impl NumCast for u8
fn from<N: ToPrimitive>(n: N) -> Option<u8>
impl FromStr for u8
impl FromStrRadix for u8
fn from_str_radix(src: &str, radix: uint) -> Option<u8>
impl Num for u8
impl Unsigned for u8
impl Primitive for u8
impl Zero for u8
impl One for u8
impl Bounded for u8
impl Zeroable for u8
impl Add<u8, u8> for u8
impl Sub<u8, u8> for u8
impl Mul<u8, u8> for u8
impl Div<u8, u8> for u8
impl Rem<u8, u8> for u8
impl Neg<u8> for u8
impl Not<u8> for u8
impl BitAnd<u8, u8> for u8
impl BitOr<u8, u8> for u8
impl BitXor<u8, u8> for u8
impl Shl<uint, u8> for u8
impl Shr<uint, u8> for u8
impl PartialEq for u8
impl Eq for u8
impl PartialOrd for u8
fn partial_cmp(&self, other: &u8) -> Option<Ordering>
fn lt(&self, other: &u8) -> bool
fn le(&self, other: &u8) -> bool
fn ge(&self, other: &u8) -> bool
fn gt(&self, other: &u8) -> bool
impl Ord for u8
impl Clone for u8
impl Default for u8
impl Step for u8
impl<S: Writer> Hash<S> for u8
fn hash(&self, state: &mut S)
impl Show for u8
impl Binary for u8
impl Octal for u8
impl LowerHex for u8
impl UpperHex for u8
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
).