Type Alias serde::lib::core::os::raw::c_char

1.1.0 · source ·
pub type c_char = i8;
Expand description

Equivalent to C’s char type.

C’s char type is completely unlike Rust’s char type; while Rust’s type represents a unicode scalar value, C’s char type is just an ordinary integer. On modern architectures this type will always be either i8 or u8, as they use byte-addresses memory with 8-bit bytes.

C chars are most commonly used to make C strings. Unlike Rust, where the length of a string is included alongside the string, C strings mark the end of a string with the character '\0'. See CStr for more information.

Trait Implementations§

1.0.0 · source§

impl Add<&i8> for i8

§

type Output = <i8 as Add<i8>>::Output

The resulting type after applying the + operator.
source§

fn add(self, other: &i8) -> <i8 as Add<i8>>::Output

Performs the + operation. Read more
1.0.0 · source§

impl Add<i8> for i8

§

type Output = i8

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
1.22.0 · source§

impl AddAssign<&i8> for i8

source§

fn add_assign(&mut self, other: &i8)

Performs the += operation. Read more
1.8.0 · source§

impl AddAssign<i8> for i8

source§

fn add_assign(&mut self, other: i8)

Performs the += operation. Read more
1.0.0 · source§

impl Binary for i8

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
1.0.0 · source§

impl BitAnd<&i8> for i8

§

type Output = <i8 as BitAnd<i8>>::Output

The resulting type after applying the & operator.
source§

fn bitand(self, other: &i8) -> <i8 as BitAnd<i8>>::Output

Performs the & operation. Read more
1.0.0 · source§

impl BitAnd<i8> for i8

§

type Output = i8

The resulting type after applying the & operator.
source§

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

Performs the & operation. Read more
1.22.0 · source§

impl BitAndAssign<&i8> for i8

source§

fn bitand_assign(&mut self, other: &i8)

Performs the &= operation. Read more
1.8.0 · source§

impl BitAndAssign<i8> for i8

source§

fn bitand_assign(&mut self, other: i8)

Performs the &= operation. Read more
1.0.0 · source§

impl BitOr<&i8> for i8

§

type Output = <i8 as BitOr<i8>>::Output

The resulting type after applying the | operator.
source§

fn bitor(self, other: &i8) -> <i8 as BitOr<i8>>::Output

Performs the | operation. Read more
1.45.0 · source§

impl BitOr<NonZeroI8> for i8

§

type Output = NonZeroI8

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: NonZeroI8) -> <i8 as BitOr<NonZeroI8>>::Output

Performs the | operation. Read more
1.0.0 · source§

impl BitOr<i8> for i8

§

type Output = i8

The resulting type after applying the | operator.
source§

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

Performs the | operation. Read more
1.22.0 · source§

impl BitOrAssign<&i8> for i8

source§

fn bitor_assign(&mut self, other: &i8)

Performs the |= operation. Read more
1.8.0 · source§

impl BitOrAssign<i8> for i8

source§

fn bitor_assign(&mut self, other: i8)

Performs the |= operation. Read more
1.0.0 · source§

impl BitXor<&i8> for i8

§

type Output = <i8 as BitXor<i8>>::Output

The resulting type after applying the ^ operator.
source§

fn bitxor(self, other: &i8) -> <i8 as BitXor<i8>>::Output

Performs the ^ operation. Read more
1.0.0 · source§

impl BitXor<i8> for i8

§

type Output = i8

The resulting type after applying the ^ operator.
source§

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

Performs the ^ operation. Read more
1.22.0 · source§

impl BitXorAssign<&i8> for i8

source§

fn bitxor_assign(&mut self, other: &i8)

Performs the ^= operation. Read more
1.8.0 · source§

impl BitXorAssign<i8> for i8

source§

fn bitxor_assign(&mut self, other: i8)

Performs the ^= operation. Read more
1.0.0 · source§

impl Clone for i8

source§

fn clone(&self) -> i8

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
1.0.0 · source§

impl Debug for i8

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
1.0.0 · source§

impl Default for i8

source§

fn default() -> i8

Returns the default value of 0

source§

impl<'de> Deserialize<'de> for i8

source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
1.0.0 · source§

impl Display for i8

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
1.0.0 · source§

impl Div<&i8> for i8

§

type Output = <i8 as Div<i8>>::Output

The resulting type after applying the / operator.
source§

fn div(self, other: &i8) -> <i8 as Div<i8>>::Output

Performs the / operation. Read more
1.0.0 · source§

impl Div<i8> for i8

This operation rounds towards zero, truncating any fractional part of the exact result.

Panics

This operation will panic if other == 0 or the division results in overflow.

§

type Output = i8

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
1.22.0 · source§

impl DivAssign<&i8> for i8

source§

fn div_assign(&mut self, other: &i8)

Performs the /= operation. Read more
1.8.0 · source§

impl DivAssign<i8> for i8

source§

fn div_assign(&mut self, other: i8)

Performs the /= operation. Read more
1.31.0 · source§

impl From<NonZeroI8> for i8

source§

fn from(nonzero: NonZeroI8) -> i8

Converts a NonZeroI8 into an i8

1.28.0 · source§

impl From<bool> for i8

source§

fn from(small: bool) -> i8

Converts a bool to a i8. The resulting value is 0 for false and 1 for true values.

Examples
assert_eq!(i8::from(true), 1);
assert_eq!(i8::from(false), 0);
1.0.0 · source§

impl FromStr for i8

§

type Err = ParseIntError

The associated error which can be returned from parsing.
source§

fn from_str(src: &str) -> Result<i8, ParseIntError>

Parses a string s to return a value of this type. Read more
1.0.0 · source§

impl Hash for i8

source§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher. Read more
source§

fn hash_slice<H>(data: &[i8], state: &mut H)where H: Hasher,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'de, E> IntoDeserializer<'de, E> for i8where E: Error,

§

type Deserializer = I8Deserializer<E>

The type of the deserializer being converted into.
source§

fn into_deserializer(self) -> I8Deserializer<E>

Convert this value into a deserializer.
1.42.0 · source§

impl LowerExp for i8

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
1.0.0 · source§

impl LowerHex for i8

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
1.0.0 · source§

impl Mul<&i8> for i8

§

type Output = <i8 as Mul<i8>>::Output

The resulting type after applying the * operator.
source§

fn mul(self, other: &i8) -> <i8 as Mul<i8>>::Output

Performs the * operation. Read more
1.0.0 · source§

impl Mul<i8> for i8

§

type Output = i8

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
1.22.0 · source§

impl MulAssign<&i8> for i8

source§

fn mul_assign(&mut self, other: &i8)

Performs the *= operation. Read more
1.8.0 · source§

impl MulAssign<i8> for i8

source§

fn mul_assign(&mut self, other: i8)

Performs the *= operation. Read more
1.0.0 · source§

impl Neg for i8

§

type Output = i8

The resulting type after applying the - operator.
source§

fn neg(self) -> i8

Performs the unary - operation. Read more
1.0.0 · source§

impl Not for i8

§

type Output = i8

The resulting type after applying the ! operator.
source§

fn not(self) -> i8

Performs the unary ! operation. Read more
1.0.0 · source§

impl Octal for i8

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
1.0.0 · source§

impl Ord for i8

source§

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

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
1.0.0 · source§

impl PartialEq<i8> for i8

source§

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

This method tests for self and other values to be equal, and is used by ==.
source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.0.0 · source§

impl PartialOrd<i8> for i8

source§

fn partial_cmp(&self, other: &i8) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
source§

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

This method tests less than (for self and other) and is used by the < operator. Read more
source§

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

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
source§

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

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

This method tests greater than (for self and other) and is used by the > operator. Read more
1.12.0 · source§

impl<'a> Product<&'a i8> for i8

source§

fn product<I>(iter: I) -> i8where I: Iterator<Item = &'a i8>,

Method which takes an iterator and generates Self from the elements by multiplying the items.
1.12.0 · source§

impl Product<i8> for i8

source§

fn product<I>(iter: I) -> i8where I: Iterator<Item = i8>,

Method which takes an iterator and generates Self from the elements by multiplying the items.
1.0.0 · source§

impl Rem<&i8> for i8

§

type Output = <i8 as Rem<i8>>::Output

The resulting type after applying the % operator.
source§

fn rem(self, other: &i8) -> <i8 as Rem<i8>>::Output

Performs the % operation. Read more
1.0.0 · source§

impl Rem<i8> for i8

This operation satisfies n % d == n - (n / d) * d. The result has the same sign as the left operand.

Panics

This operation will panic if other == 0 or if self / other results in overflow.

§

type Output = i8

The resulting type after applying the % operator.
source§

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

Performs the % operation. Read more
1.22.0 · source§

impl RemAssign<&i8> for i8

source§

fn rem_assign(&mut self, other: &i8)

Performs the %= operation. Read more
1.8.0 · source§

impl RemAssign<i8> for i8

source§

fn rem_assign(&mut self, other: i8)

Performs the %= operation. Read more
source§

impl Serialize for i8

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
1.0.0 · source§

impl Shl<&i128> for i8

§

type Output = <i8 as Shl<i128>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &i128) -> <i8 as Shl<i128>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&i16> for i8

§

type Output = <i8 as Shl<i16>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &i16) -> <i8 as Shl<i16>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&i32> for i8

§

type Output = <i8 as Shl<i32>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &i32) -> <i8 as Shl<i32>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&i64> for i8

§

type Output = <i8 as Shl<i64>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &i64) -> <i8 as Shl<i64>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&i8> for i8

§

type Output = <i8 as Shl<i8>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &i8) -> <i8 as Shl<i8>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&isize> for i8

§

type Output = <i8 as Shl<isize>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &isize) -> <i8 as Shl<isize>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&u128> for i8

§

type Output = <i8 as Shl<u128>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &u128) -> <i8 as Shl<u128>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&u16> for i8

§

type Output = <i8 as Shl<u16>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &u16) -> <i8 as Shl<u16>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&u32> for i8

§

type Output = <i8 as Shl<u32>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &u32) -> <i8 as Shl<u32>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&u64> for i8

§

type Output = <i8 as Shl<u64>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &u64) -> <i8 as Shl<u64>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&u8> for i8

§

type Output = <i8 as Shl<u8>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &u8) -> <i8 as Shl<u8>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<&usize> for i8

§

type Output = <i8 as Shl<usize>>::Output

The resulting type after applying the << operator.
source§

fn shl(self, other: &usize) -> <i8 as Shl<usize>>::Output

Performs the << operation. Read more
1.0.0 · source§

impl Shl<i128> for i8

§

type Output = i8

The resulting type after applying the << operator.
source§

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

Performs the << operation. Read more
1.0.0 · source§

impl Shl<i16> for i8

§

type Output = i8

The resulting type after applying the << operator.
source§

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

Performs the << operation. Read more
1.0.0 · source§

impl Shl<i32> for i8

§

type Output = i8

The resulting type after applying the << operator.
source§

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

Performs the << operation. Read more
1.0.0 · source§

impl Shl<i64> for i8

§

type Output = i8

The resulting type after applying the << operator.
source§

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

Performs the << operation. Read more
1.0.0 · source§

impl Shl<i8> for i8

§

type Output = i8

The resulting type after applying the << operator.
source§

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

Performs the << operation. Read more
1.0.0 · source§

impl Shl<isize> for i8

§

type Output = i8

The resulting type after applying the << operator.
source§

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

Performs the << operation. Read more
1.0.0 · source§

impl Shl<u128> for i8

§

type Output = i8

The resulting type after applying the << operator.
source§

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

Performs the << operation. Read more
1.0.0 · source§

impl Shl<u16> for i8

§

type Output = i8

The resulting type after applying the << operator.
source§

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

Performs the << operation. Read more
1.0.0 · source§

impl Shl<u32> for i8

§

type Output = i8

The resulting type after applying the << operator.
source§

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

Performs the << operation. Read more
1.0.0 · source§

impl Shl<u64> for i8

§

type Output = i8

The resulting type after applying the << operator.
source§

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

Performs the << operation. Read more
1.0.0 · source§

impl Shl<u8> for i8

§

type Output = i8

The resulting type after applying the << operator.
source§

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

Performs the << operation. Read more
1.0.0 · source§

impl Shl<usize> for i8

§

type Output = i8

The resulting type after applying the << operator.
source§

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

Performs the << operation. Read more
1.22.0 · source§

impl ShlAssign<&i128> for i8

source§

fn shl_assign(&mut self, other: &i128)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&i16> for i8

source§

fn shl_assign(&mut self, other: &i16)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&i32> for i8

source§

fn shl_assign(&mut self, other: &i32)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&i64> for i8

source§

fn shl_assign(&mut self, other: &i64)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&i8> for i8

source§

fn shl_assign(&mut self, other: &i8)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&isize> for i8

source§

fn shl_assign(&mut self, other: &isize)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&u128> for i8

source§

fn shl_assign(&mut self, other: &u128)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&u16> for i8

source§

fn shl_assign(&mut self, other: &u16)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&u32> for i8

source§

fn shl_assign(&mut self, other: &u32)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&u64> for i8

source§

fn shl_assign(&mut self, other: &u64)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&u8> for i8

source§

fn shl_assign(&mut self, other: &u8)

Performs the <<= operation. Read more
1.22.0 · source§

impl ShlAssign<&usize> for i8

source§

fn shl_assign(&mut self, other: &usize)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<i128> for i8

source§

fn shl_assign(&mut self, other: i128)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<i16> for i8

source§

fn shl_assign(&mut self, other: i16)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<i32> for i8

source§

fn shl_assign(&mut self, other: i32)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<i64> for i8

source§

fn shl_assign(&mut self, other: i64)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<i8> for i8

source§

fn shl_assign(&mut self, other: i8)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<isize> for i8

source§

fn shl_assign(&mut self, other: isize)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<u128> for i8

source§

fn shl_assign(&mut self, other: u128)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<u16> for i8

source§

fn shl_assign(&mut self, other: u16)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<u32> for i8

source§

fn shl_assign(&mut self, other: u32)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<u64> for i8

source§

fn shl_assign(&mut self, other: u64)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<u8> for i8

source§

fn shl_assign(&mut self, other: u8)

Performs the <<= operation. Read more
1.8.0 · source§

impl ShlAssign<usize> for i8

source§

fn shl_assign(&mut self, other: usize)

Performs the <<= operation. Read more
1.0.0 · source§

impl Shr<&i128> for i8

§

type Output = <i8 as Shr<i128>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &i128) -> <i8 as Shr<i128>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&i16> for i8

§

type Output = <i8 as Shr<i16>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &i16) -> <i8 as Shr<i16>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&i32> for i8

§

type Output = <i8 as Shr<i32>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &i32) -> <i8 as Shr<i32>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&i64> for i8

§

type Output = <i8 as Shr<i64>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &i64) -> <i8 as Shr<i64>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&i8> for i8

§

type Output = <i8 as Shr<i8>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &i8) -> <i8 as Shr<i8>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&isize> for i8

§

type Output = <i8 as Shr<isize>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &isize) -> <i8 as Shr<isize>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&u128> for i8

§

type Output = <i8 as Shr<u128>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &u128) -> <i8 as Shr<u128>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&u16> for i8

§

type Output = <i8 as Shr<u16>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &u16) -> <i8 as Shr<u16>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&u32> for i8

§

type Output = <i8 as Shr<u32>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &u32) -> <i8 as Shr<u32>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&u64> for i8

§

type Output = <i8 as Shr<u64>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &u64) -> <i8 as Shr<u64>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&u8> for i8

§

type Output = <i8 as Shr<u8>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &u8) -> <i8 as Shr<u8>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<&usize> for i8

§

type Output = <i8 as Shr<usize>>::Output

The resulting type after applying the >> operator.
source§

fn shr(self, other: &usize) -> <i8 as Shr<usize>>::Output

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<i128> for i8

§

type Output = i8

The resulting type after applying the >> operator.
source§

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

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<i16> for i8

§

type Output = i8

The resulting type after applying the >> operator.
source§

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

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<i32> for i8

§

type Output = i8

The resulting type after applying the >> operator.
source§

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

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<i64> for i8

§

type Output = i8

The resulting type after applying the >> operator.
source§

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

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<i8> for i8

§

type Output = i8

The resulting type after applying the >> operator.
source§

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

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<isize> for i8

§

type Output = i8

The resulting type after applying the >> operator.
source§

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

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<u128> for i8

§

type Output = i8

The resulting type after applying the >> operator.
source§

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

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<u16> for i8

§

type Output = i8

The resulting type after applying the >> operator.
source§

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

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<u32> for i8

§

type Output = i8

The resulting type after applying the >> operator.
source§

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

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<u64> for i8

§

type Output = i8

The resulting type after applying the >> operator.
source§

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

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<u8> for i8

§

type Output = i8

The resulting type after applying the >> operator.
source§

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

Performs the >> operation. Read more
1.0.0 · source§

impl Shr<usize> for i8

§

type Output = i8

The resulting type after applying the >> operator.
source§

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

Performs the >> operation. Read more
1.22.0 · source§

impl ShrAssign<&i128> for i8

source§

fn shr_assign(&mut self, other: &i128)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&i16> for i8

source§

fn shr_assign(&mut self, other: &i16)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&i32> for i8

source§

fn shr_assign(&mut self, other: &i32)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&i64> for i8

source§

fn shr_assign(&mut self, other: &i64)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&i8> for i8

source§

fn shr_assign(&mut self, other: &i8)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&isize> for i8

source§

fn shr_assign(&mut self, other: &isize)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&u128> for i8

source§

fn shr_assign(&mut self, other: &u128)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&u16> for i8

source§

fn shr_assign(&mut self, other: &u16)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&u32> for i8

source§

fn shr_assign(&mut self, other: &u32)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&u64> for i8

source§

fn shr_assign(&mut self, other: &u64)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&u8> for i8

source§

fn shr_assign(&mut self, other: &u8)

Performs the >>= operation. Read more
1.22.0 · source§

impl ShrAssign<&usize> for i8

source§

fn shr_assign(&mut self, other: &usize)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<i128> for i8

source§

fn shr_assign(&mut self, other: i128)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<i16> for i8

source§

fn shr_assign(&mut self, other: i16)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<i32> for i8

source§

fn shr_assign(&mut self, other: i32)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<i64> for i8

source§

fn shr_assign(&mut self, other: i64)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<i8> for i8

source§

fn shr_assign(&mut self, other: i8)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<isize> for i8

source§

fn shr_assign(&mut self, other: isize)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<u128> for i8

source§

fn shr_assign(&mut self, other: u128)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<u16> for i8

source§

fn shr_assign(&mut self, other: u16)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<u32> for i8

source§

fn shr_assign(&mut self, other: u32)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<u64> for i8

source§

fn shr_assign(&mut self, other: u64)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<u8> for i8

source§

fn shr_assign(&mut self, other: u8)

Performs the >>= operation. Read more
1.8.0 · source§

impl ShrAssign<usize> for i8

source§

fn shr_assign(&mut self, other: usize)

Performs the >>= operation. Read more
source§

impl SimdElement for i8

§

type Mask = i8

🔬This is a nightly-only experimental API. (portable_simd)
The mask element type corresponding to this element type.
source§

impl Step for i8

source§

unsafe fn forward_unchecked(start: i8, n: usize) -> i8

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor of self count times. Read more
source§

unsafe fn backward_unchecked(start: i8, n: usize) -> i8

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor of self count times. Read more
source§

fn forward(start: i8, n: usize) -> i8

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor of self count times. Read more
source§

fn backward(start: i8, n: usize) -> i8

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor of self count times. Read more
source§

fn steps_between(start: &i8, end: &i8) -> Option<usize>

🔬This is a nightly-only experimental API. (step_trait)
Returns the number of successor steps required to get from start to end. Read more
source§

fn forward_checked(start: i8, n: usize) -> Option<i8>

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor of self count times. Read more
source§

fn backward_checked(start: i8, n: usize) -> Option<i8>

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor of self count times. Read more
1.0.0 · source§

impl Sub<&i8> for i8

§

type Output = <i8 as Sub<i8>>::Output

The resulting type after applying the - operator.
source§

fn sub(self, other: &i8) -> <i8 as Sub<i8>>::Output

Performs the - operation. Read more
1.0.0 · source§

impl Sub<i8> for i8

§

type Output = i8

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
1.22.0 · source§

impl SubAssign<&i8> for i8

source§

fn sub_assign(&mut self, other: &i8)

Performs the -= operation. Read more
1.8.0 · source§

impl SubAssign<i8> for i8

source§

fn sub_assign(&mut self, other: i8)

Performs the -= operation. Read more
1.12.0 · source§

impl<'a> Sum<&'a i8> for i8

source§

fn sum<I>(iter: I) -> i8where I: Iterator<Item = &'a i8>,

Method which takes an iterator and generates Self from the elements by “summing up” the items.
1.12.0 · source§

impl Sum<i8> for i8

source§

fn sum<I>(iter: I) -> i8where I: Iterator<Item = i8>,

Method which takes an iterator and generates Self from the elements by “summing up” the items.
1.34.0 · source§

impl TryFrom<i128> for i8

source§

fn try_from(u: i128) -> Result<i8, <i8 as TryFrom<i128>>::Error>

Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
1.34.0 · source§

impl TryFrom<i16> for i8

source§

fn try_from(u: i16) -> Result<i8, <i8 as TryFrom<i16>>::Error>

Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
1.34.0 · source§

impl TryFrom<i32> for i8

source§

fn try_from(u: i32) -> Result<i8, <i8 as TryFrom<i32>>::Error>

Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
1.34.0 · source§

impl TryFrom<i64> for i8

source§

fn try_from(u: i64) -> Result<i8, <i8 as TryFrom<i64>>::Error>

Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
1.34.0 · source§

impl TryFrom<isize> for i8

source§

fn try_from(u: isize) -> Result<i8, <i8 as TryFrom<isize>>::Error>

Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
1.34.0 · source§

impl TryFrom<u128> for i8

source§

fn try_from(u: u128) -> Result<i8, <i8 as TryFrom<u128>>::Error>

Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
1.34.0 · source§

impl TryFrom<u16> for i8

source§

fn try_from(u: u16) -> Result<i8, <i8 as TryFrom<u16>>::Error>

Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
1.34.0 · source§

impl TryFrom<u32> for i8

source§

fn try_from(u: u32) -> Result<i8, <i8 as TryFrom<u32>>::Error>

Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
1.34.0 · source§

impl TryFrom<u64> for i8

source§

fn try_from(u: u64) -> Result<i8, <i8 as TryFrom<u64>>::Error>

Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
1.34.0 · source§

impl TryFrom<u8> for i8

source§

fn try_from(u: u8) -> Result<i8, <i8 as TryFrom<u8>>::Error>

Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
1.34.0 · source§

impl TryFrom<usize> for i8

source§

fn try_from(u: usize) -> Result<i8, <i8 as TryFrom<usize>>::Error>

Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
1.42.0 · source§

impl UpperExp for i8

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
1.0.0 · source§

impl UpperHex for i8

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
source§

impl ConstParamTy for i8

1.0.0 · source§

impl Copy for i8

1.0.0 · source§

impl Eq for i8

source§

impl MaskElement for i8

source§

impl SimdCast for i8

source§

impl StructuralEq for i8

source§

impl StructuralPartialEq for i8

source§

impl TrustedStep for i8