Primitive Type u8Unstable

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

Trait Implementations

impl FromStr for u8

fn from_str(s: &str) -> Option<u8>

impl FromStrRadix for u8

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

impl ToStrRadix for u8

fn to_str_radix(&self, radix: uint) -> String

Convert to a string in a given base.

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

impl AsciiCast<Ascii> for u8

unsafe fn to_ascii_nocheck(&self) -> Ascii

fn is_ascii(&self) -> bool

fn to_ascii(&self) -> T

fn to_ascii_opt(&self) -> Option<T>

impl NumStrConv for u8

fn nan() -> Option<u8>

fn inf() -> Option<u8>

fn neg_inf() -> Option<u8>

fn neg_zero() -> Option<u8>

fn round_to_zero(&self) -> u8

fn fractional_part(&self) -> u8

impl Num for u8

impl Zero for u8

fn zero() -> u8

fn is_zero(&self) -> bool

impl One for u8

fn one() -> u8

impl Unsigned for u8

impl Bounded for u8

fn min_value() -> u8

fn max_value() -> u8

impl Primitive for u8

impl Int for u8

fn count_ones(self) -> u8

fn leading_zeros(self) -> u8

fn trailing_zeros(self) -> u8

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

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

fn swap_bytes(self) -> u8

fn count_zeros(self) -> u8

fn from_be(u8) -> u8

fn from_le(u8) -> u8

fn to_be(self) -> u8

fn to_le(self) -> 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 CheckedAdd for u8

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

impl CheckedSub for u8

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

impl CheckedMul for u8

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

impl CheckedDiv for u8

fn checked_div(&self, v: &u8) -> Option<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<u8, u8> for u8

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

impl Shr<u8, u8> for u8

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

impl PartialEq 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 for u8

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 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 Show for u8

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

impl Unsigned for u8

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

impl Binary for u8

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

impl Octal for u8

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

impl LowerHex for u8

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

impl UpperHex for u8

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

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

fn hash<S: Writer>(&self, state: &mut S)