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

1.1.0 · source ·
pub type c_int = i32;
Expand description

Equivalent to C’s signed int (int) type.

This type will almost always be i32, but may differ on some esoteric systems. The C standard technically only requires that this type be a signed integer that is at least the size of a short; some systems define it as an i16, for example.

Trait Implementations§

1.0.0 · source§

impl Add<&i32> for i32

§

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

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
1.0.0 · source§

impl Add<i32> for i32

§

type Output = i32

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
1.22.0 · source§

impl AddAssign<&i32> for i32

source§

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

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

impl AddAssign<i32> for i32

source§

fn add_assign(&mut self, other: i32)

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

impl AsRawFd for i32

source§

fn as_raw_fd(&self) -> i32

Extracts the raw file descriptor. Read more
1.0.0 · source§

impl Binary for i32

source§

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

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

impl BitAnd<&i32> for i32

§

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

The resulting type after applying the & operator.
source§

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

Performs the & operation. Read more
1.0.0 · source§

impl BitAnd<i32> for i32

§

type Output = i32

The resulting type after applying the & operator.
source§

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

Performs the & operation. Read more
1.22.0 · source§

impl BitAndAssign<&i32> for i32

source§

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

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

impl BitAndAssign<i32> for i32

source§

fn bitand_assign(&mut self, other: i32)

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

impl BitOr<&i32> for i32

§

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

The resulting type after applying the | operator.
source§

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

Performs the | operation. Read more
1.45.0 · source§

impl BitOr<NonZeroI32> for i32

§

type Output = NonZeroI32

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: NonZeroI32) -> <i32 as BitOr<NonZeroI32>>::Output

Performs the | operation. Read more
1.0.0 · source§

impl BitOr<i32> for i32

§

type Output = i32

The resulting type after applying the | operator.
source§

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

Performs the | operation. Read more
1.22.0 · source§

impl BitOrAssign<&i32> for i32

source§

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

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

impl BitOrAssign<i32> for i32

source§

fn bitor_assign(&mut self, other: i32)

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

impl BitXor<&i32> for i32

§

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

The resulting type after applying the ^ operator.
source§

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

Performs the ^ operation. Read more
1.0.0 · source§

impl BitXor<i32> for i32

§

type Output = i32

The resulting type after applying the ^ operator.
source§

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

Performs the ^ operation. Read more
1.22.0 · source§

impl BitXorAssign<&i32> for i32

source§

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

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

impl BitXorAssign<i32> for i32

source§

fn bitxor_assign(&mut self, other: i32)

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

impl Clone for i32

source§

fn clone(&self) -> i32

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 i32

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 i32

source§

fn default() -> i32

Returns the default value of 0

source§

impl<'de> Deserialize<'de> for i32

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 i32

source§

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

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

impl Div<&i32> for i32

§

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

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
1.0.0 · source§

impl Div<i32> for i32

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

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
1.22.0 · source§

impl DivAssign<&i32> for i32

source§

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

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

impl DivAssign<i32> for i32

source§

fn div_assign(&mut self, other: i32)

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

impl From<NonZeroI32> for i32

source§

fn from(nonzero: NonZeroI32) -> i32

Converts a NonZeroI32 into an i32

1.28.0 · source§

impl From<bool> for i32

source§

fn from(small: bool) -> i32

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

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

impl From<i16> for i32

source§

fn from(small: i16) -> i32

Converts i16 to i32 losslessly.

1.5.0 · source§

impl From<i8> for i32

source§

fn from(small: i8) -> i32

Converts i8 to i32 losslessly.

1.5.0 · source§

impl From<u16> for i32

source§

fn from(small: u16) -> i32

Converts u16 to i32 losslessly.

1.5.0 · source§

impl From<u8> for i32

source§

fn from(small: u8) -> i32

Converts u8 to i32 losslessly.

1.48.0 · source§

impl FromRawFd for i32

source§

unsafe fn from_raw_fd(fd: i32) -> i32

Constructs a new instance of Self from the given raw file descriptor. Read more
1.0.0 · source§

impl FromStr for i32

§

type Err = ParseIntError

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

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

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

impl Hash for i32

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: &[i32], 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 i32where E: Error,

§

type Deserializer = I32Deserializer<E>

The type of the deserializer being converted into.
source§

fn into_deserializer(self) -> I32Deserializer<E>

Convert this value into a deserializer.
1.48.0 · source§

impl IntoRawFd for i32

source§

fn into_raw_fd(self) -> i32

Consumes this object, returning the raw underlying file descriptor. Read more
1.42.0 · source§

impl LowerExp for i32

source§

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

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

impl LowerHex for i32

source§

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

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

impl Mul<&i32> for i32

§

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

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
1.0.0 · source§

impl Mul<i32> for i32

§

type Output = i32

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
1.22.0 · source§

impl MulAssign<&i32> for i32

source§

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

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

impl MulAssign<i32> for i32

source§

fn mul_assign(&mut self, other: i32)

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

impl Neg for i32

§

type Output = i32

The resulting type after applying the - operator.
source§

fn neg(self) -> i32

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

impl Not for i32

§

type Output = i32

The resulting type after applying the ! operator.
source§

fn not(self) -> i32

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

impl Octal for i32

source§

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

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

impl Ord for i32

source§

fn cmp(&self, other: &i32) -> 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<i32> for i32

source§

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

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

fn ne(&self, other: &i32) -> 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<i32> for i32

source§

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

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

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

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

fn le(&self, other: &i32) -> 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: &i32) -> 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: &i32) -> 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 i32> for i32

source§

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

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

impl Product<i32> for i32

source§

fn product<I>(iter: I) -> i32where I: Iterator<Item = i32>,

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

impl Rem<&i32> for i32

§

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

The resulting type after applying the % operator.
source§

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

Performs the % operation. Read more
1.0.0 · source§

impl Rem<i32> for i32

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

The resulting type after applying the % operator.
source§

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

Performs the % operation. Read more
1.22.0 · source§

impl RemAssign<&i32> for i32

source§

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

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

impl RemAssign<i32> for i32

source§

fn rem_assign(&mut self, other: i32)

Performs the %= operation. Read more
source§

impl Serialize for i32

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 i32

§

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

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

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

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

impl Shl<&i16> for i32

§

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

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

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

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

impl Shl<&i32> for i32

§

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

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

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

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

impl Shl<&i64> for i32

§

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

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

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

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

impl Shl<&i8> for i32

§

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

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

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

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

impl Shl<&isize> for i32

§

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

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

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

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

impl Shl<&u128> for i32

§

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

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

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

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

impl Shl<&u16> for i32

§

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

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

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

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

impl Shl<&u32> for i32

§

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

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

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

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

impl Shl<&u64> for i32

§

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

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

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

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

impl Shl<&u8> for i32

§

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

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

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

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

impl Shl<&usize> for i32

§

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

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

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

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

impl Shl<i128> for i32

§

type Output = i32

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

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

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

impl Shl<i16> for i32

§

type Output = i32

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

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

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

impl Shl<i32> for i32

§

type Output = i32

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

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

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

impl Shl<i64> for i32

§

type Output = i32

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

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

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

impl Shl<i8> for i32

§

type Output = i32

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

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

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

impl Shl<isize> for i32

§

type Output = i32

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

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

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

impl Shl<u128> for i32

§

type Output = i32

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

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

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

impl Shl<u16> for i32

§

type Output = i32

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

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

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

impl Shl<u32> for i32

§

type Output = i32

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

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

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

impl Shl<u64> for i32

§

type Output = i32

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

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

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

impl Shl<u8> for i32

§

type Output = i32

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

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

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

impl Shl<usize> for i32

§

type Output = i32

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

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

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

impl ShlAssign<&i128> for i32

source§

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

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

impl ShlAssign<&i16> for i32

source§

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

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

impl ShlAssign<&i32> for i32

source§

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

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

impl ShlAssign<&i64> for i32

source§

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

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

impl ShlAssign<&i8> for i32

source§

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

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

impl ShlAssign<&isize> for i32

source§

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

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

impl ShlAssign<&u128> for i32

source§

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

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

impl ShlAssign<&u16> for i32

source§

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

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

impl ShlAssign<&u32> for i32

source§

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

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

impl ShlAssign<&u64> for i32

source§

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

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

impl ShlAssign<&u8> for i32

source§

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

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

impl ShlAssign<&usize> for i32

source§

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

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

impl ShlAssign<i128> for i32

source§

fn shl_assign(&mut self, other: i128)

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

impl ShlAssign<i16> for i32

source§

fn shl_assign(&mut self, other: i16)

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

impl ShlAssign<i32> for i32

source§

fn shl_assign(&mut self, other: i32)

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

impl ShlAssign<i64> for i32

source§

fn shl_assign(&mut self, other: i64)

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

impl ShlAssign<i8> for i32

source§

fn shl_assign(&mut self, other: i8)

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

impl ShlAssign<isize> for i32

source§

fn shl_assign(&mut self, other: isize)

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

impl ShlAssign<u128> for i32

source§

fn shl_assign(&mut self, other: u128)

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

impl ShlAssign<u16> for i32

source§

fn shl_assign(&mut self, other: u16)

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

impl ShlAssign<u32> for i32

source§

fn shl_assign(&mut self, other: u32)

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

impl ShlAssign<u64> for i32

source§

fn shl_assign(&mut self, other: u64)

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

impl ShlAssign<u8> for i32

source§

fn shl_assign(&mut self, other: u8)

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

impl ShlAssign<usize> for i32

source§

fn shl_assign(&mut self, other: usize)

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

impl Shr<&i128> for i32

§

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

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

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

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

impl Shr<&i16> for i32

§

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

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

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

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

impl Shr<&i32> for i32

§

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

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

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

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

impl Shr<&i64> for i32

§

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

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

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

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

impl Shr<&i8> for i32

§

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

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

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

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

impl Shr<&isize> for i32

§

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

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

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

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

impl Shr<&u128> for i32

§

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

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

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

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

impl Shr<&u16> for i32

§

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

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

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

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

impl Shr<&u32> for i32

§

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

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

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

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

impl Shr<&u64> for i32

§

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

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

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

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

impl Shr<&u8> for i32

§

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

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

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

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

impl Shr<&usize> for i32

§

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

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

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

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

impl Shr<i128> for i32

§

type Output = i32

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

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

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

impl Shr<i16> for i32

§

type Output = i32

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

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

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

impl Shr<i32> for i32

§

type Output = i32

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

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

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

impl Shr<i64> for i32

§

type Output = i32

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

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

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

impl Shr<i8> for i32

§

type Output = i32

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

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

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

impl Shr<isize> for i32

§

type Output = i32

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

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

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

impl Shr<u128> for i32

§

type Output = i32

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

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

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

impl Shr<u16> for i32

§

type Output = i32

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

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

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

impl Shr<u32> for i32

§

type Output = i32

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

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

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

impl Shr<u64> for i32

§

type Output = i32

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

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

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

impl Shr<u8> for i32

§

type Output = i32

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

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

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

impl Shr<usize> for i32

§

type Output = i32

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

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

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

impl ShrAssign<&i128> for i32

source§

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

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

impl ShrAssign<&i16> for i32

source§

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

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

impl ShrAssign<&i32> for i32

source§

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

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

impl ShrAssign<&i64> for i32

source§

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

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

impl ShrAssign<&i8> for i32

source§

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

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

impl ShrAssign<&isize> for i32

source§

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

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

impl ShrAssign<&u128> for i32

source§

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

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

impl ShrAssign<&u16> for i32

source§

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

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

impl ShrAssign<&u32> for i32

source§

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

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

impl ShrAssign<&u64> for i32

source§

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

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

impl ShrAssign<&u8> for i32

source§

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

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

impl ShrAssign<&usize> for i32

source§

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

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

impl ShrAssign<i128> for i32

source§

fn shr_assign(&mut self, other: i128)

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

impl ShrAssign<i16> for i32

source§

fn shr_assign(&mut self, other: i16)

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

impl ShrAssign<i32> for i32

source§

fn shr_assign(&mut self, other: i32)

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

impl ShrAssign<i64> for i32

source§

fn shr_assign(&mut self, other: i64)

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

impl ShrAssign<i8> for i32

source§

fn shr_assign(&mut self, other: i8)

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

impl ShrAssign<isize> for i32

source§

fn shr_assign(&mut self, other: isize)

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

impl ShrAssign<u128> for i32

source§

fn shr_assign(&mut self, other: u128)

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

impl ShrAssign<u16> for i32

source§

fn shr_assign(&mut self, other: u16)

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

impl ShrAssign<u32> for i32

source§

fn shr_assign(&mut self, other: u32)

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

impl ShrAssign<u64> for i32

source§

fn shr_assign(&mut self, other: u64)

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

impl ShrAssign<u8> for i32

source§

fn shr_assign(&mut self, other: u8)

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

impl ShrAssign<usize> for i32

source§

fn shr_assign(&mut self, other: usize)

Performs the >>= operation. Read more
source§

impl SimdElement for i32

§

type Mask = i32

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

impl Step for i32

source§

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

🔬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: i32, n: usize) -> i32

🔬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: i32, n: usize) -> i32

🔬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: i32, n: usize) -> i32

🔬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: &i32, end: &i32) -> 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: i32, n: usize) -> Option<i32>

🔬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: i32, n: usize) -> Option<i32>

🔬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<&i32> for i32

§

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

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
1.0.0 · source§

impl Sub<i32> for i32

§

type Output = i32

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
1.22.0 · source§

impl SubAssign<&i32> for i32

source§

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

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

impl SubAssign<i32> for i32

source§

fn sub_assign(&mut self, other: i32)

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

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

source§

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

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

impl Sum<i32> for i32

source§

fn sum<I>(iter: I) -> i32where I: Iterator<Item = i32>,

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

impl TryFrom<i128> for i32

source§

fn try_from(u: i128) -> Result<i32, <i32 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<i64> for i32

source§

fn try_from(u: i64) -> Result<i32, <i32 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 i32

source§

fn try_from(u: isize) -> Result<i32, <i32 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 i32

source§

fn try_from(u: u128) -> Result<i32, <i32 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<u32> for i32

source§

fn try_from(u: u32) -> Result<i32, <i32 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 i32

source§

fn try_from(u: u64) -> Result<i32, <i32 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<usize> for i32

source§

fn try_from(u: usize) -> Result<i32, <i32 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 i32

source§

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

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

impl UpperHex for i32

source§

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

Formats the value using the given formatter.
source§

impl ConstParamTy for i32

1.0.0 · source§

impl Copy for i32

1.0.0 · source§

impl Eq for i32

source§

impl MaskElement for i32

source§

impl SimdCast for i32

source§

impl StructuralEq for i32

source§

impl StructuralPartialEq for i32

source§

impl TrustedStep for i32