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