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(i8) -> i8fn from_le(i8) -> i8fn to_be(self) -> i8fn to_le(self) -> i8fn saturating_add(self, i8) -> i8fn saturating_sub(self, i8) -> i8fn pow(self, usize) -> i8impl 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>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_uint(&self) -> Option<usize>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 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>fn from_int(isize) -> Option<i8>fn from_i8(i8) -> Option<i8>fn from_i16(i16) -> Option<i8>fn from_i32(i32) -> Option<i8>fn from_uint(usize) -> 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 i8fn from<N>(n: N) -> Option<i8> where N: ToPrimitiveimpl FromStr for i8type Err = ParseIntErrorfn from_str(src: &str) -> Result<i8, ParseIntError>impl FromStrRadix for i8type Err = ParseIntErrorfn from_str_radix(src: &str, radix: usize) -> Result<i8, ParseIntError>impl Zeroable for i8impl Add<i8> for i8impl<'a> Add<i8> for &'a i8impl<'a> Add<&'a i8> for i8impl<'a, 'b> Add<&'a i8> for &'b i8impl Sub<i8> for i8impl<'a> Sub<i8> for &'a i8impl<'a> Sub<&'a i8> for i8impl<'a, 'b> Sub<&'a i8> for &'b i8impl Mul<i8> for i8impl<'a> Mul<i8> for &'a i8impl<'a> Mul<&'a i8> for i8impl<'a, 'b> Mul<&'a i8> for &'b i8impl Div<i8> for i8impl<'a> Div<i8> for &'a i8impl<'a> Div<&'a i8> for i8impl<'a, 'b> Div<&'a i8> for &'b i8impl Rem<i8> for i8impl<'a> Rem<i8> for &'a i8impl<'a> Rem<&'a i8> for i8impl<'a, 'b> Rem<&'a i8> for &'b i8impl Neg for i8impl<'a> Neg for &'a i8impl Not for i8impl<'a> Not for &'a i8impl BitAnd<i8> for i8impl<'a> BitAnd<i8> for &'a i8impl<'a> BitAnd<&'a i8> for i8type Output = <i8 as BitAnd<i8>>::Outputfn bitand(self, other: &'a i8) -> <i8 as BitAnd<i8>>::Outputimpl<'a, 'b> BitAnd<&'a i8> for &'b i8type Output = <i8 as BitAnd<i8>>::Outputfn bitand(self, other: &'a i8) -> <i8 as BitAnd<i8>>::Outputimpl BitOr<i8> for i8impl<'a> BitOr<i8> for &'a i8impl<'a> BitOr<&'a i8> for i8impl<'a, 'b> BitOr<&'a i8> for &'b i8impl BitXor<i8> for i8impl<'a> BitXor<i8> for &'a i8impl<'a> BitXor<&'a i8> for i8type Output = <i8 as BitXor<i8>>::Outputfn bitxor(self, other: &'a i8) -> <i8 as BitXor<i8>>::Outputimpl<'a, 'b> BitXor<&'a i8> for &'b i8type Output = <i8 as BitXor<i8>>::Outputfn bitxor(self, other: &'a i8) -> <i8 as BitXor<i8>>::Outputimpl Shl<u8> for i8impl<'a> Shl<u8> for &'a i8impl<'a> Shl<&'a u8> for i8impl<'a, 'b> Shl<&'a u8> for &'b i8impl Shl<u16> for i8impl<'a> Shl<u16> for &'a i8impl<'a> Shl<&'a u16> for i8impl<'a, 'b> Shl<&'a u16> for &'b i8impl Shl<u32> for i8impl<'a> Shl<u32> for &'a i8impl<'a> Shl<&'a u32> for i8impl<'a, 'b> Shl<&'a u32> for &'b i8impl Shl<u64> for i8impl<'a> Shl<u64> for &'a i8impl<'a> Shl<&'a u64> for i8impl<'a, 'b> Shl<&'a u64> for &'b i8impl Shl<usize> for i8impl<'a> Shl<usize> for &'a i8impl<'a> Shl<&'a usize> for i8type Output = <i8 as Shl<usize>>::Outputfn shl(self, other: &'a usize) -> <i8 as Shl<usize>>::Outputimpl<'a, 'b> Shl<&'a usize> for &'b i8type Output = <i8 as Shl<usize>>::Outputfn shl(self, other: &'a usize) -> <i8 as Shl<usize>>::Outputimpl Shl<i8> for i8impl<'a> Shl<i8> for &'a i8impl<'a> Shl<&'a i8> for i8impl<'a, 'b> Shl<&'a i8> for &'b i8impl Shl<i16> for i8impl<'a> Shl<i16> for &'a i8impl<'a> Shl<&'a i16> for i8impl<'a, 'b> Shl<&'a i16> for &'b i8impl Shl<i32> for i8impl<'a> Shl<i32> for &'a i8impl<'a> Shl<&'a i32> for i8impl<'a, 'b> Shl<&'a i32> for &'b i8impl Shl<i64> for i8impl<'a> Shl<i64> for &'a i8impl<'a> Shl<&'a i64> for i8impl<'a, 'b> Shl<&'a i64> for &'b i8impl Shl<isize> for i8impl<'a> Shl<isize> for &'a i8impl<'a> Shl<&'a isize> for i8type Output = <i8 as Shl<isize>>::Outputfn shl(self, other: &'a isize) -> <i8 as Shl<isize>>::Outputimpl<'a, 'b> Shl<&'a isize> for &'b i8type Output = <i8 as Shl<isize>>::Outputfn shl(self, other: &'a isize) -> <i8 as Shl<isize>>::Outputimpl Shr<u8> for i8impl<'a> Shr<u8> for &'a i8impl<'a> Shr<&'a u8> for i8impl<'a, 'b> Shr<&'a u8> for &'b i8impl Shr<u16> for i8impl<'a> Shr<u16> for &'a i8impl<'a> Shr<&'a u16> for i8impl<'a, 'b> Shr<&'a u16> for &'b i8impl Shr<u32> for i8impl<'a> Shr<u32> for &'a i8impl<'a> Shr<&'a u32> for i8impl<'a, 'b> Shr<&'a u32> for &'b i8impl Shr<u64> for i8impl<'a> Shr<u64> for &'a i8impl<'a> Shr<&'a u64> for i8impl<'a, 'b> Shr<&'a u64> for &'b i8impl Shr<usize> for i8impl<'a> Shr<usize> for &'a i8impl<'a> Shr<&'a usize> for i8type Output = <i8 as Shr<usize>>::Outputfn shr(self, other: &'a usize) -> <i8 as Shr<usize>>::Outputimpl<'a, 'b> Shr<&'a usize> for &'b i8type Output = <i8 as Shr<usize>>::Outputfn shr(self, other: &'a usize) -> <i8 as Shr<usize>>::Outputimpl Shr<i8> for i8impl<'a> Shr<i8> for &'a i8impl<'a> Shr<&'a i8> for i8impl<'a, 'b> Shr<&'a i8> for &'b i8impl Shr<i16> for i8impl<'a> Shr<i16> for &'a i8impl<'a> Shr<&'a i16> for i8impl<'a, 'b> Shr<&'a i16> for &'b i8impl Shr<i32> for i8impl<'a> Shr<i32> for &'a i8impl<'a> Shr<&'a i32> for i8impl<'a, 'b> Shr<&'a i32> for &'b i8impl Shr<i64> for i8impl<'a> Shr<i64> for &'a i8impl<'a> Shr<&'a i64> for i8impl<'a, 'b> Shr<&'a i64> for &'b i8impl Shr<isize> for i8impl<'a> Shr<isize> for &'a i8impl<'a> Shr<&'a isize> for i8type Output = <i8 as Shr<isize>>::Outputfn shr(self, other: &'a isize) -> <i8 as Shr<isize>>::Outputimpl<'a, 'b> Shr<&'a isize> for &'b i8type Output = <i8 as Shr<isize>>::Outputfn shr(self, other: &'a isize) -> <i8 as Shr<isize>>::Outputimpl PartialEq<i8> for i8impl Eq for i8fn assert_receiver_is_total_eq(&self)impl PartialOrd<i8> 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) -> boolfn lt(&self, &i8) -> boolfn le(&self, &i8) -> boolfn gt(&self, &i8) -> boolfn ge(&self, &i8) -> boolimpl Ord for i8impl Clone for i8impl Default for i8impl<S> Hash<S> for i8 where S: Hasher, S: Writerfn hash(&self, state: &mut S)impl Display for i8impl Binary for i8impl Octal for i8impl LowerHex for i8impl UpperHex for i8impl Debug for i8impl SampleRange for i8fn construct_range(low: i8, high: i8) -> Range<i8>fn sample_range<R>(r: &Range<i8>, rng: &mut R) -> i8 where R: Rngimpl Rand 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).