Primitive Type i8Unstable

Operations and constants for signed 8-bits integers (i8 type)

Trait Implementations

impl FromStr for i8

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

impl FromStrRadix for i8

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

impl ToStrRadix for i8

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

Convert to a string in a given base.

impl SampleRange for i8

fn construct_range(low: i8, high: i8) -> Range<i8>

fn sample_range<R: Rng>(r: &Range<i8>, rng: &mut R) -> i8

impl Rand for i8

fn rand<R: Rng>(rng: &mut R) -> i8

impl NumStrConv for i8

fn nan() -> Option<i8>

fn inf() -> Option<i8>

fn neg_inf() -> Option<i8>

fn neg_zero() -> Option<i8>

fn round_to_zero(&self) -> i8

fn fractional_part(&self) -> i8

impl Num for i8

impl Zero for i8

fn zero() -> i8

fn is_zero(&self) -> bool

impl One for i8

fn one() -> i8

impl Signed for i8

fn abs(&self) -> i8

fn abs_sub(&self, other: &i8) -> i8

fn signum(&self) -> i8

fn is_positive(&self) -> bool

fn is_negative(&self) -> bool

impl Bounded for i8

fn min_value() -> i8

fn max_value() -> i8

impl Primitive for i8

impl Int for i8

fn count_ones(self) -> i8

fn leading_zeros(self) -> i8

fn trailing_zeros(self) -> i8

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

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

fn swap_bytes(self) -> i8

fn count_zeros(self) -> i8

fn from_be(i8) -> i8

fn from_le(i8) -> i8

fn to_be(self) -> i8

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

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 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>

fn from_int(int) -> Option<i8>

fn from_i8(i8) -> Option<i8>

fn from_i16(i16) -> Option<i8>

fn from_i32(i32) -> Option<i8>

fn from_uint(uint) -> Option<i8>

fn from_u8(u8) -> Option<i8>

fn from_u16(u16) -> Option<i8>

fn from_u32(u32) -> Option<i8>

fn from_f32(f32) -> Option<i8>

fn from_f64(f64) -> Option<i8>

impl NumCast for i8

fn from<N: ToPrimitive>(n: N) -> Option<i8>

impl CheckedAdd for i8

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

impl CheckedSub for i8

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

impl CheckedMul for i8

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

impl CheckedDiv for i8

fn checked_div(&self, v: &i8) -> Option<i8>

impl Add<i8, i8> for i8

fn add(&self, other: &i8) -> i8

impl Sub<i8, i8> for i8

fn sub(&self, other: &i8) -> i8

impl Mul<i8, i8> for i8

fn mul(&self, other: &i8) -> i8

impl Div<i8, i8> for i8

fn div(&self, other: &i8) -> i8

impl Rem<i8, i8> for i8

fn rem(&self, other: &i8) -> i8

impl Neg<i8> for i8

fn neg(&self) -> i8

impl Not<i8> for i8

fn not(&self) -> i8

impl BitAnd<i8, i8> for i8

fn bitand(&self, rhs: &i8) -> i8

impl BitOr<i8, i8> for i8

fn bitor(&self, rhs: &i8) -> i8

impl BitXor<i8, i8> for i8

fn bitxor(&self, other: &i8) -> i8

impl Shl<i8, i8> for i8

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

impl Shr<i8, i8> for i8

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

impl PartialEq for i8

fn eq(&self, other: &i8) -> bool

fn ne(&self, other: &i8) -> bool

fn ne(&self, &i8) -> bool

impl Eq for i8

fn assert_receiver_is_total_eq(&self)

impl PartialOrd for i8

fn lt(&self, other: &i8) -> bool

fn le(&self, other: &i8) -> bool

fn ge(&self, other: &i8) -> bool

fn gt(&self, other: &i8) -> bool

fn le(&self, &i8) -> bool

fn gt(&self, &i8) -> bool

fn ge(&self, &i8) -> bool

impl Ord for i8

fn cmp(&self, other: &i8) -> Ordering

impl Clone for i8

fn clone(&self) -> i8

Return a deep copy of the value.

fn clone_from(&mut self, &i8)

impl Default for i8

fn default() -> i8

impl Show for i8

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

impl Signed for i8

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

impl Binary for i8

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

impl Octal for i8

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

impl LowerHex for i8

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

impl UpperHex for i8

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

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

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