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) -> usize
fn leading_zeros(self) -> usize
fn trailing_zeros(self) -> usize
fn rotate_left(self, n: usize) -> i8
fn rotate_right(self, n: usize) -> 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) -> usize
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: usize) -> Self
impl SignedInt for i8
impl ToPrimitive for i8
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_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 i8
fn 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 i8
fn from<N: ToPrimitive>(n: N) -> Option<i8>
impl FromStr for i8
type Err = ParseIntError
fn from_str(src: &str) -> Result<i8, ParseIntError>
impl FromStrRadix for i8
type Err = ParseIntError
fn from_str_radix(src: &str, radix: u32) -> Result<i8, ParseIntError>
impl Zeroable for i8
impl Add for i8
impl<'a> Add<i8> for &'a i8
impl<'a> Add<&'a i8> for i8
impl<'a, 'b> Add<&'a i8> for &'b i8
impl Sub for i8
impl<'a> Sub<i8> for &'a i8
impl<'a> Sub<&'a i8> for i8
impl<'a, 'b> Sub<&'a i8> for &'b i8
impl Mul for i8
impl<'a> Mul<i8> for &'a i8
impl<'a> Mul<&'a i8> for i8
impl<'a, 'b> Mul<&'a i8> for &'b i8
impl Div for i8
impl<'a> Div<i8> for &'a i8
impl<'a> Div<&'a i8> for i8
impl<'a, 'b> Div<&'a i8> for &'b i8
impl Rem for i8
impl<'a> Rem<i8> for &'a i8
impl<'a> Rem<&'a i8> for i8
impl<'a, 'b> Rem<&'a i8> for &'b i8
impl Neg for i8
impl<'a> Neg for &'a i8
impl Not for i8
impl<'a> Not for &'a i8
impl BitAnd for i8
impl<'a> BitAnd<i8> for &'a i8
impl<'a> BitAnd<&'a i8> for i8
type Output = <i8 as BitAnd<i8>>::Output
fn bitand(self, other: &'a i8) -> <i8 as BitAnd<i8>>::Output
impl<'a, 'b> BitAnd<&'a i8> for &'b i8
type Output = <i8 as BitAnd<i8>>::Output
fn bitand(self, other: &'a i8) -> <i8 as BitAnd<i8>>::Output
impl BitOr for i8
impl<'a> BitOr<i8> for &'a i8
impl<'a> BitOr<&'a i8> for i8
impl<'a, 'b> BitOr<&'a i8> for &'b i8
impl BitXor for i8
impl<'a> BitXor<i8> for &'a i8
impl<'a> BitXor<&'a i8> for i8
type Output = <i8 as BitXor<i8>>::Output
fn bitxor(self, other: &'a i8) -> <i8 as BitXor<i8>>::Output
impl<'a, 'b> BitXor<&'a i8> for &'b i8
type Output = <i8 as BitXor<i8>>::Output
fn bitxor(self, other: &'a i8) -> <i8 as BitXor<i8>>::Output
impl Shl<u8> for i8
impl<'a> Shl<u8> for &'a i8
impl<'a> Shl<&'a u8> for i8
impl<'a, 'b> Shl<&'a u8> for &'b i8
impl Shl<u16> for i8
impl<'a> Shl<u16> for &'a i8
impl<'a> Shl<&'a u16> for i8
impl<'a, 'b> Shl<&'a u16> for &'b i8
impl Shl<u32> for i8
impl<'a> Shl<u32> for &'a i8
impl<'a> Shl<&'a u32> for i8
impl<'a, 'b> Shl<&'a u32> for &'b i8
impl Shl<u64> for i8
impl<'a> Shl<u64> for &'a i8
impl<'a> Shl<&'a u64> for i8
impl<'a, 'b> Shl<&'a u64> for &'b i8
impl Shl<usize> for i8
impl<'a> Shl<usize> for &'a i8
impl<'a> Shl<&'a usize> for i8
type Output = <i8 as Shl<usize>>::Output
fn shl(self, other: &'a usize) -> <i8 as Shl<usize>>::Output
impl<'a, 'b> Shl<&'a usize> for &'b i8
type Output = <i8 as Shl<usize>>::Output
fn shl(self, other: &'a usize) -> <i8 as Shl<usize>>::Output
impl Shl<i8> for i8
impl<'a> Shl<i8> for &'a i8
impl<'a> Shl<&'a i8> for i8
impl<'a, 'b> Shl<&'a i8> for &'b i8
impl Shl<i16> for i8
impl<'a> Shl<i16> for &'a i8
impl<'a> Shl<&'a i16> for i8
impl<'a, 'b> Shl<&'a i16> for &'b i8
impl Shl<i32> for i8
impl<'a> Shl<i32> for &'a i8
impl<'a> Shl<&'a i32> for i8
impl<'a, 'b> Shl<&'a i32> for &'b i8
impl Shl<i64> for i8
impl<'a> Shl<i64> for &'a i8
impl<'a> Shl<&'a i64> for i8
impl<'a, 'b> Shl<&'a i64> for &'b i8
impl Shl<isize> for i8
impl<'a> Shl<isize> for &'a i8
impl<'a> Shl<&'a isize> for i8
type Output = <i8 as Shl<isize>>::Output
fn shl(self, other: &'a isize) -> <i8 as Shl<isize>>::Output
impl<'a, 'b> Shl<&'a isize> for &'b i8
type Output = <i8 as Shl<isize>>::Output
fn shl(self, other: &'a isize) -> <i8 as Shl<isize>>::Output
impl Shr<u8> for i8
impl<'a> Shr<u8> for &'a i8
impl<'a> Shr<&'a u8> for i8
impl<'a, 'b> Shr<&'a u8> for &'b i8
impl Shr<u16> for i8
impl<'a> Shr<u16> for &'a i8
impl<'a> Shr<&'a u16> for i8
impl<'a, 'b> Shr<&'a u16> for &'b i8
impl Shr<u32> for i8
impl<'a> Shr<u32> for &'a i8
impl<'a> Shr<&'a u32> for i8
impl<'a, 'b> Shr<&'a u32> for &'b i8
impl Shr<u64> for i8
impl<'a> Shr<u64> for &'a i8
impl<'a> Shr<&'a u64> for i8
impl<'a, 'b> Shr<&'a u64> for &'b i8
impl Shr<usize> for i8
impl<'a> Shr<usize> for &'a i8
impl<'a> Shr<&'a usize> for i8
type Output = <i8 as Shr<usize>>::Output
fn shr(self, other: &'a usize) -> <i8 as Shr<usize>>::Output
impl<'a, 'b> Shr<&'a usize> for &'b i8
type Output = <i8 as Shr<usize>>::Output
fn shr(self, other: &'a usize) -> <i8 as Shr<usize>>::Output
impl Shr<i8> for i8
impl<'a> Shr<i8> for &'a i8
impl<'a> Shr<&'a i8> for i8
impl<'a, 'b> Shr<&'a i8> for &'b i8
impl Shr<i16> for i8
impl<'a> Shr<i16> for &'a i8
impl<'a> Shr<&'a i16> for i8
impl<'a, 'b> Shr<&'a i16> for &'b i8
impl Shr<i32> for i8
impl<'a> Shr<i32> for &'a i8
impl<'a> Shr<&'a i32> for i8
impl<'a, 'b> Shr<&'a i32> for &'b i8
impl Shr<i64> for i8
impl<'a> Shr<i64> for &'a i8
impl<'a> Shr<&'a i64> for i8
impl<'a, 'b> Shr<&'a i64> for &'b i8
impl Shr<isize> for i8
impl<'a> Shr<isize> for &'a i8
impl<'a> Shr<&'a isize> for i8
type Output = <i8 as Shr<isize>>::Output
fn shr(self, other: &'a isize) -> <i8 as Shr<isize>>::Output
impl<'a, 'b> Shr<&'a isize> for &'b i8
type Output = <i8 as Shr<isize>>::Output
fn shr(self, other: &'a isize) -> <i8 as Shr<isize>>::Output
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 Hash for i8
impl Display for i8
impl Binary for i8
impl Octal for i8
impl LowerHex for i8
impl UpperHex for i8
impl Debug 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
).