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) -> uintfn leading_zeros(self) -> uintfn trailing_zeros(self) -> uintfn rotate_left(self, n: uint) -> i8fn rotate_right(self, n: uint) -> 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) -> uintfn 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) -> Selfimpl SignedInt for i8impl ToPrimitive for i8fn 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 i8fn from_int(n: int) -> 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: uint) -> 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 Num for i8impl Primitive for i8impl Zero for i8impl One for i8impl Bounded for i8impl Add<i8, i8> for i8impl Sub<i8, i8> for i8impl Mul<i8, i8> for i8impl Div<i8, i8> for i8impl Rem<i8, i8> for i8impl Neg<i8> for i8impl Not<i8> for i8impl BitAnd<i8, i8> for i8impl BitOr<i8, i8> for i8impl BitXor<i8, i8> for i8impl Shl<uint, i8> for i8impl Shr<uint, i8> 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 Show for i8impl Signed for i8impl Binary for i8impl Octal for i8impl LowerHex for i8impl UpperHex 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).