Primitive Type u8 [-]  [+]

Operations and constants for unsigned 8-bits integers (u8 type)

Trait Implementations

impl AsciiExt for u8

fn is_ascii(&self) -> bool

fn to_ascii_uppercase(&self) -> u8

fn to_ascii_lowercase(&self) -> u8

fn eq_ignore_ascii_case(&self, other: &u8) -> bool

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(u8) -> u8

fn from_le(u8) -> u8

fn to_be(self) -> u8

fn to_le(self) -> u8

fn saturating_add(self, u8) -> u8

fn saturating_sub(self, u8) -> u8

fn pow(self, uint) -> u8

impl UnsignedInt for u8

fn is_power_of_two(self) -> bool

fn next_power_of_two(self) -> u8

fn checked_next_power_of_two(self) -> Option<u8>

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>

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

fn from_int(int) -> Option<u8>

fn from_i8(i8) -> Option<u8>

fn from_i16(i16) -> Option<u8>

fn from_i32(i32) -> Option<u8>

fn from_uint(uint) -> Option<u8>

fn from_u8(u8) -> Option<u8>

fn from_u16(u16) -> Option<u8>

fn from_u32(u32) -> Option<u8>

fn from_f32(f32) -> Option<u8>

fn from_f64(f64) -> Option<u8>

impl NumCast for u8

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

impl FromStr for u8

fn from_str(src: &str) -> Option<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

fn zero() -> u8

fn is_zero(&self) -> bool

impl One for u8

fn one() -> u8

impl Bounded for u8

fn min_value() -> u8

fn max_value() -> u8

impl Zeroable for u8

impl Add<u8, u8> for u8

fn add(self, other: u8) -> u8

impl Sub<u8, u8> for u8

fn sub(self, other: u8) -> u8

impl Mul<u8, u8> for u8

fn mul(self, other: u8) -> u8

impl Div<u8, u8> for u8

fn div(self, other: u8) -> u8

impl Rem<u8, u8> for u8

fn rem(self, other: u8) -> u8

impl Neg<u8> for u8

fn neg(self) -> u8

impl Not<u8> for u8

fn not(self) -> u8

impl BitAnd<u8, u8> for u8

fn bitand(self, rhs: u8) -> u8

impl BitOr<u8, u8> for u8

fn bitor(self, rhs: u8) -> u8

impl BitXor<u8, u8> for u8

fn bitxor(self, other: u8) -> u8

impl Shl<uint, u8> for u8

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

impl Shr<uint, u8> for u8

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

impl PartialEq<u8> for u8

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

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

fn ne(&self, &u8) -> bool

impl Eq for u8

fn assert_receiver_is_total_eq(&self)

impl PartialOrd<u8> 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

fn lt(&self, &u8) -> bool

fn le(&self, &u8) -> bool

fn gt(&self, &u8) -> bool

fn ge(&self, &u8) -> bool

impl Ord for u8

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

impl Clone for u8

fn clone(&self) -> u8

Return a deep copy of the value.

fn clone_from(&mut self, &u8)

impl Default for u8

fn default() -> u8

impl Step for u8

fn step(&mut self)

fn step_back(&mut self)

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

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

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

impl Show for u8

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

impl Binary for u8

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

impl Octal for u8

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

impl LowerHex for u8

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

impl UpperHex for u8

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

impl SampleRange for u8

fn construct_range(low: u8, high: u8) -> Range<u8>

fn sample_range<R: Rng>(r: &Range<u8>, rng: &mut R) -> u8

impl Rand for u8

fn rand<R: Rng>(rng: &mut R) -> u8