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 i8
fn zero() -> i8
fn one() -> i8
fn min_value() -> i8
fn max_value() -> i8
fn count_ones(self) -> uint
fn leading_zeros(self) -> uint
fn trailing_zeros(self) -> uint
fn rotate_left(self, n: uint) -> i8
fn rotate_right(self, n: uint) -> i8
fn swap_bytes(self) -> i8
fn 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) -> uint
fn from_be(x: Self) -> Self
fn from_le(x: Self) -> Self
fn to_be(self) -> Self
fn to_le(self) -> Self
fn saturating_add(self, other: Self) -> Self
fn saturating_sub(self, other: Self) -> Self
fn pow(self, exp: uint) -> Self
impl SignedInt for i8
impl ToPrimitive for i8
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>
impl FromPrimitive for i8
fn 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 i8
fn from<N: ToPrimitive>(n: N) -> Option<i8>
impl FromStr for i8
impl FromStrRadix for i8
fn from_str_radix(src: &str, radix: uint) -> Option<i8>
impl Num for i8
impl Primitive for i8
impl Zero for i8
impl One for i8
impl Bounded for i8
impl Zeroable for i8
impl Add<i8, i8> for i8
impl Sub<i8, i8> for i8
impl Mul<i8, i8> for i8
impl Div<i8, i8> for i8
impl Rem<i8, i8> for i8
impl Neg<i8> for i8
impl Not<i8> for i8
impl BitAnd<i8, i8> for i8
impl BitOr<i8, i8> for i8
impl BitXor<i8, i8> for i8
impl Shl<uint, i8> for i8
impl Shr<uint, i8> for i8
impl PartialEq for i8
impl Eq for i8
impl PartialOrd for i8
fn partial_cmp(&self, other: &i8) -> Option<Ordering>
fn lt(&self, other: &i8) -> bool
fn le(&self, other: &i8) -> bool
fn ge(&self, other: &i8) -> bool
fn gt(&self, other: &i8) -> bool
impl Ord for i8
impl Clone for i8
impl Default for i8
impl Step for i8
impl<S: Writer> Hash<S> for i8
fn hash(&self, state: &mut S)
impl Show for i8
impl Binary for i8
impl Octal for i8
impl LowerHex for i8
impl 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
).