Primitive Type u8
[-]
[+]
Operations and constants for unsigned 8-bits integers (u8 type)
Operations and constants for unsigned 8-bits integers (u8 type)
impl AsciiExt for u8fn is_ascii(&self) -> boolfn to_ascii_uppercase(&self) -> u8fn to_ascii_lowercase(&self) -> u8fn eq_ignore_ascii_case(&self, other: &u8) -> boolimpl Int for u8fn zero() -> u8fn one() -> u8fn min_value() -> u8fn max_value() -> u8fn count_ones(self) -> usizefn leading_zeros(self) -> usizefn trailing_zeros(self) -> usizefn rotate_left(self, n: usize) -> u8fn rotate_right(self, n: usize) -> u8fn swap_bytes(self) -> u8fn 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) -> usizefn from_be(u8) -> u8fn from_le(u8) -> u8fn to_be(self) -> u8fn to_le(self) -> u8fn saturating_add(self, u8) -> u8fn saturating_sub(self, u8) -> u8fn pow(self, usize) -> u8impl UnsignedInt for u8fn is_power_of_two(self) -> boolfn next_power_of_two(self) -> u8fn checked_next_power_of_two(self) -> Option<u8>impl ToPrimitive for u8fn to_int(&self) -> Option<isize>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<usize>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<isize>fn to_i8(&self) -> Option<i8>fn to_i16(&self) -> Option<i16>fn to_i32(&self) -> Option<i32>fn to_uint(&self) -> Option<usize>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 u8fn from_int(n: isize) -> 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: usize) -> 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(isize) -> Option<u8>fn from_i8(i8) -> Option<u8>fn from_i16(i16) -> Option<u8>fn from_i32(i32) -> Option<u8>fn from_uint(usize) -> 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 u8fn from<N: ToPrimitive>(n: N) -> Option<u8>impl FromStr for u8impl FromStrRadix for u8fn from_str_radix(src: &str, radix: usize) -> Option<u8>impl Zeroable for u8impl Add<u8> for u8impl Sub<u8> for u8impl Mul<u8> for u8impl Div<u8> for u8impl Rem<u8> for u8impl Neg for u8impl Not for u8impl BitAnd<u8> for u8impl BitOr<u8> for u8impl BitXor<u8> for u8impl Shl<usize> for u8impl Shr<usize> for u8impl PartialEq<u8> for u8impl Eq for u8fn assert_receiver_is_total_eq(&self)impl PartialOrd<u8> for u8fn partial_cmp(&self, other: &u8) -> Option<Ordering>fn lt(&self, other: &u8) -> boolfn le(&self, other: &u8) -> boolfn ge(&self, other: &u8) -> boolfn gt(&self, other: &u8) -> boolfn lt(&self, &u8) -> boolfn le(&self, &u8) -> boolfn gt(&self, &u8) -> boolfn ge(&self, &u8) -> boolimpl Ord for u8impl Clone for u8impl Default for u8impl Step for u8impl<S: Hasher + Writer> Hash<S> for u8fn hash(&self, state: &mut S)impl String for u8impl Binary for u8impl Octal for u8impl LowerHex for u8impl UpperHex for u8impl Show for u8impl SampleRange for u8fn construct_range(low: u8, high: u8) -> Range<u8>fn sample_range<R: Rng>(r: &Range<u8>, rng: &mut R) -> u8impl Rand 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).