Struct candid::types::number::Int

source ·
pub struct Int(pub BigInt);

Tuple Fields§

§0: BigInt

Implementations§

source§

impl Int

source

pub fn parse(v: &[u8]) -> Result<Self>

source§

impl Int

source

pub fn encode<W>(&self, w: &mut W) -> Result<()>
where W: ?Sized + Write,

source

pub fn decode<R>(r: &mut R) -> Result<Self>
where R: Read,

Trait Implementations§

source§

impl Add<Int> for i128

§

type Output = Int

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
source§

impl Add<Int> for i16

§

type Output = Int

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
source§

impl Add<Int> for i32

§

type Output = Int

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
source§

impl Add<Int> for i64

§

type Output = Int

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
source§

impl Add<Int> for i8

§

type Output = Int

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
source§

impl Add<Int> for isize

§

type Output = Int

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
source§

impl Add<Int> for u128

§

type Output = Int

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
source§

impl Add<Int> for u16

§

type Output = Int

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
source§

impl Add<Int> for u32

§

type Output = Int

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
source§

impl Add<Int> for u64

§

type Output = Int

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
source§

impl Add<Int> for u8

§

type Output = Int

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
source§

impl Add<Int> for usize

§

type Output = Int

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
source§

impl Add<i128> for Int

§

type Output = Int

The resulting type after applying the + operator.
source§

fn add(self, other: i128) -> Int

Performs the + operation. Read more
source§

impl Add<i16> for Int

§

type Output = Int

The resulting type after applying the + operator.
source§

fn add(self, other: i16) -> Int

Performs the + operation. Read more
source§

impl Add<i32> for Int

§

type Output = Int

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
source§

impl Add<i64> for Int

§

type Output = Int

The resulting type after applying the + operator.
source§

fn add(self, other: i64) -> Int

Performs the + operation. Read more
source§

impl Add<i8> for Int

§

type Output = Int

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
source§

impl Add<isize> for Int

§

type Output = Int

The resulting type after applying the + operator.
source§

fn add(self, other: isize) -> Int

Performs the + operation. Read more
source§

impl Add<u128> for Int

§

type Output = Int

The resulting type after applying the + operator.
source§

fn add(self, other: u128) -> Int

Performs the + operation. Read more
source§

impl Add<u16> for Int

§

type Output = Int

The resulting type after applying the + operator.
source§

fn add(self, other: u16) -> Int

Performs the + operation. Read more
source§

impl Add<u32> for Int

§

type Output = Int

The resulting type after applying the + operator.
source§

fn add(self, other: u32) -> Int

Performs the + operation. Read more
source§

impl Add<u64> for Int

§

type Output = Int

The resulting type after applying the + operator.
source§

fn add(self, other: u64) -> Int

Performs the + operation. Read more
source§

impl Add<u8> for Int

§

type Output = Int

The resulting type after applying the + operator.
source§

fn add(self, other: u8) -> Int

Performs the + operation. Read more
source§

impl Add<usize> for Int

§

type Output = Int

The resulting type after applying the + operator.
source§

fn add(self, other: usize) -> Int

Performs the + operation. Read more
source§

impl Add for Int

§

type Output = Int

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
source§

impl AddAssign<i128> for Int

source§

fn add_assign(&mut self, other: i128)

Performs the += operation. Read more
source§

impl AddAssign<i16> for Int

source§

fn add_assign(&mut self, other: i16)

Performs the += operation. Read more
source§

impl AddAssign<i32> for Int

source§

fn add_assign(&mut self, other: i32)

Performs the += operation. Read more
source§

impl AddAssign<i64> for Int

source§

fn add_assign(&mut self, other: i64)

Performs the += operation. Read more
source§

impl AddAssign<i8> for Int

source§

fn add_assign(&mut self, other: i8)

Performs the += operation. Read more
source§

impl AddAssign<isize> for Int

source§

fn add_assign(&mut self, other: isize)

Performs the += operation. Read more
source§

impl AddAssign<u128> for Int

source§

fn add_assign(&mut self, other: u128)

Performs the += operation. Read more
source§

impl AddAssign<u16> for Int

source§

fn add_assign(&mut self, other: u16)

Performs the += operation. Read more
source§

impl AddAssign<u32> for Int

source§

fn add_assign(&mut self, other: u32)

Performs the += operation. Read more
source§

impl AddAssign<u64> for Int

source§

fn add_assign(&mut self, other: u64)

Performs the += operation. Read more
source§

impl AddAssign<u8> for Int

source§

fn add_assign(&mut self, other: u8)

Performs the += operation. Read more
source§

impl AddAssign<usize> for Int

source§

fn add_assign(&mut self, other: usize)

Performs the += operation. Read more
source§

impl AddAssign for Int

source§

fn add_assign(&mut self, other: Int)

Performs the += operation. Read more
source§

impl CandidType for Int

source§

fn _ty() -> Type

source§

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

source§

fn ty() -> Type

source§

fn id() -> TypeId

source§

impl Clone for Int

source§

fn clone(&self) -> Int

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

impl Debug for Int

source§

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

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

impl Default for Int

source§

fn default() -> Int

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Int

source§

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

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

impl Display for Int

source§

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

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

impl Div<Int> for i128

§

type Output = Int

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<Int> for i16

§

type Output = Int

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<Int> for i32

§

type Output = Int

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<Int> for i64

§

type Output = Int

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<Int> for i8

§

type Output = Int

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<Int> for isize

§

type Output = Int

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<Int> for u128

§

type Output = Int

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<Int> for u16

§

type Output = Int

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<Int> for u32

§

type Output = Int

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<Int> for u64

§

type Output = Int

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<Int> for u8

§

type Output = Int

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<Int> for usize

§

type Output = Int

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<i128> for Int

§

type Output = Int

The resulting type after applying the / operator.
source§

fn div(self, other: i128) -> Int

Performs the / operation. Read more
source§

impl Div<i16> for Int

§

type Output = Int

The resulting type after applying the / operator.
source§

fn div(self, other: i16) -> Int

Performs the / operation. Read more
source§

impl Div<i32> for Int

§

type Output = Int

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<i64> for Int

§

type Output = Int

The resulting type after applying the / operator.
source§

fn div(self, other: i64) -> Int

Performs the / operation. Read more
source§

impl Div<i8> for Int

§

type Output = Int

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl Div<isize> for Int

§

type Output = Int

The resulting type after applying the / operator.
source§

fn div(self, other: isize) -> Int

Performs the / operation. Read more
source§

impl Div<u128> for Int

§

type Output = Int

The resulting type after applying the / operator.
source§

fn div(self, other: u128) -> Int

Performs the / operation. Read more
source§

impl Div<u16> for Int

§

type Output = Int

The resulting type after applying the / operator.
source§

fn div(self, other: u16) -> Int

Performs the / operation. Read more
source§

impl Div<u32> for Int

§

type Output = Int

The resulting type after applying the / operator.
source§

fn div(self, other: u32) -> Int

Performs the / operation. Read more
source§

impl Div<u64> for Int

§

type Output = Int

The resulting type after applying the / operator.
source§

fn div(self, other: u64) -> Int

Performs the / operation. Read more
source§

impl Div<u8> for Int

§

type Output = Int

The resulting type after applying the / operator.
source§

fn div(self, other: u8) -> Int

Performs the / operation. Read more
source§

impl Div<usize> for Int

§

type Output = Int

The resulting type after applying the / operator.
source§

fn div(self, other: usize) -> Int

Performs the / operation. Read more
source§

impl Div for Int

§

type Output = Int

The resulting type after applying the / operator.
source§

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

Performs the / operation. Read more
source§

impl DivAssign<i128> for Int

source§

fn div_assign(&mut self, other: i128)

Performs the /= operation. Read more
source§

impl DivAssign<i16> for Int

source§

fn div_assign(&mut self, other: i16)

Performs the /= operation. Read more
source§

impl DivAssign<i32> for Int

source§

fn div_assign(&mut self, other: i32)

Performs the /= operation. Read more
source§

impl DivAssign<i64> for Int

source§

fn div_assign(&mut self, other: i64)

Performs the /= operation. Read more
source§

impl DivAssign<i8> for Int

source§

fn div_assign(&mut self, other: i8)

Performs the /= operation. Read more
source§

impl DivAssign<isize> for Int

source§

fn div_assign(&mut self, other: isize)

Performs the /= operation. Read more
source§

impl DivAssign<u128> for Int

source§

fn div_assign(&mut self, other: u128)

Performs the /= operation. Read more
source§

impl DivAssign<u16> for Int

source§

fn div_assign(&mut self, other: u16)

Performs the /= operation. Read more
source§

impl DivAssign<u32> for Int

source§

fn div_assign(&mut self, other: u32)

Performs the /= operation. Read more
source§

impl DivAssign<u64> for Int

source§

fn div_assign(&mut self, other: u64)

Performs the /= operation. Read more
source§

impl DivAssign<u8> for Int

source§

fn div_assign(&mut self, other: u8)

Performs the /= operation. Read more
source§

impl DivAssign<usize> for Int

source§

fn div_assign(&mut self, other: usize)

Performs the /= operation. Read more
source§

impl DivAssign for Int

source§

fn div_assign(&mut self, other: Int)

Performs the /= operation. Read more
source§

impl From<BigInt> for Int

source§

fn from(i: BigInt) -> Self

Converts to this type from the input type.
source§

impl From<Int> for BigInt

source§

fn from(i: Int) -> Self

Converts to this type from the input type.
source§

impl From<Nat> for Int

source§

fn from(n: Nat) -> Self

Converts to this type from the input type.
source§

impl From<i128> for Int

source§

fn from(v: i128) -> Self

Converts to this type from the input type.
source§

impl From<i16> for Int

source§

fn from(v: i16) -> Self

Converts to this type from the input type.
source§

impl From<i32> for Int

source§

fn from(v: i32) -> Self

Converts to this type from the input type.
source§

impl From<i64> for Int

source§

fn from(v: i64) -> Self

Converts to this type from the input type.
source§

impl From<i8> for Int

source§

fn from(v: i8) -> Self

Converts to this type from the input type.
source§

impl From<isize> for Int

source§

fn from(v: isize) -> Self

Converts to this type from the input type.
source§

impl From<u128> for Int

source§

fn from(v: u128) -> Self

Converts to this type from the input type.
source§

impl From<u16> for Int

source§

fn from(v: u16) -> Self

Converts to this type from the input type.
source§

impl From<u32> for Int

source§

fn from(v: u32) -> Self

Converts to this type from the input type.
source§

impl From<u64> for Int

source§

fn from(v: u64) -> Self

Converts to this type from the input type.
source§

impl From<u8> for Int

source§

fn from(v: u8) -> Self

Converts to this type from the input type.
source§

impl From<usize> for Int

source§

fn from(v: usize) -> Self

Converts to this type from the input type.
source§

impl FromStr for Int

§

type Err = Error

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

fn from_str(str: &str) -> Result<Self, Self::Err>

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

impl Hash for Int

source§

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

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

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

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

impl Mul<Int> for i128

§

type Output = Int

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Int> for i16

§

type Output = Int

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Int> for i32

§

type Output = Int

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Int> for i64

§

type Output = Int

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Int> for i8

§

type Output = Int

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Int> for isize

§

type Output = Int

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Int> for u128

§

type Output = Int

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Int> for u16

§

type Output = Int

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Int> for u32

§

type Output = Int

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Int> for u64

§

type Output = Int

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Int> for u8

§

type Output = Int

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<Int> for usize

§

type Output = Int

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<i128> for Int

§

type Output = Int

The resulting type after applying the * operator.
source§

fn mul(self, other: i128) -> Int

Performs the * operation. Read more
source§

impl Mul<i16> for Int

§

type Output = Int

The resulting type after applying the * operator.
source§

fn mul(self, other: i16) -> Int

Performs the * operation. Read more
source§

impl Mul<i32> for Int

§

type Output = Int

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<i64> for Int

§

type Output = Int

The resulting type after applying the * operator.
source§

fn mul(self, other: i64) -> Int

Performs the * operation. Read more
source§

impl Mul<i8> for Int

§

type Output = Int

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl Mul<isize> for Int

§

type Output = Int

The resulting type after applying the * operator.
source§

fn mul(self, other: isize) -> Int

Performs the * operation. Read more
source§

impl Mul<u128> for Int

§

type Output = Int

The resulting type after applying the * operator.
source§

fn mul(self, other: u128) -> Int

Performs the * operation. Read more
source§

impl Mul<u16> for Int

§

type Output = Int

The resulting type after applying the * operator.
source§

fn mul(self, other: u16) -> Int

Performs the * operation. Read more
source§

impl Mul<u32> for Int

§

type Output = Int

The resulting type after applying the * operator.
source§

fn mul(self, other: u32) -> Int

Performs the * operation. Read more
source§

impl Mul<u64> for Int

§

type Output = Int

The resulting type after applying the * operator.
source§

fn mul(self, other: u64) -> Int

Performs the * operation. Read more
source§

impl Mul<u8> for Int

§

type Output = Int

The resulting type after applying the * operator.
source§

fn mul(self, other: u8) -> Int

Performs the * operation. Read more
source§

impl Mul<usize> for Int

§

type Output = Int

The resulting type after applying the * operator.
source§

fn mul(self, other: usize) -> Int

Performs the * operation. Read more
source§

impl Mul for Int

§

type Output = Int

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl MulAssign<i128> for Int

source§

fn mul_assign(&mut self, other: i128)

Performs the *= operation. Read more
source§

impl MulAssign<i16> for Int

source§

fn mul_assign(&mut self, other: i16)

Performs the *= operation. Read more
source§

impl MulAssign<i32> for Int

source§

fn mul_assign(&mut self, other: i32)

Performs the *= operation. Read more
source§

impl MulAssign<i64> for Int

source§

fn mul_assign(&mut self, other: i64)

Performs the *= operation. Read more
source§

impl MulAssign<i8> for Int

source§

fn mul_assign(&mut self, other: i8)

Performs the *= operation. Read more
source§

impl MulAssign<isize> for Int

source§

fn mul_assign(&mut self, other: isize)

Performs the *= operation. Read more
source§

impl MulAssign<u128> for Int

source§

fn mul_assign(&mut self, other: u128)

Performs the *= operation. Read more
source§

impl MulAssign<u16> for Int

source§

fn mul_assign(&mut self, other: u16)

Performs the *= operation. Read more
source§

impl MulAssign<u32> for Int

source§

fn mul_assign(&mut self, other: u32)

Performs the *= operation. Read more
source§

impl MulAssign<u64> for Int

source§

fn mul_assign(&mut self, other: u64)

Performs the *= operation. Read more
source§

impl MulAssign<u8> for Int

source§

fn mul_assign(&mut self, other: u8)

Performs the *= operation. Read more
source§

impl MulAssign<usize> for Int

source§

fn mul_assign(&mut self, other: usize)

Performs the *= operation. Read more
source§

impl MulAssign for Int

source§

fn mul_assign(&mut self, other: Int)

Performs the *= operation. Read more
source§

impl Ord for Int

source§

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

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

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

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

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

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

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

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

impl PartialEq<Int> for i128

source§

fn eq(&self, v: &Int) -> bool

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

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

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

impl PartialEq<Int> for i16

source§

fn eq(&self, v: &Int) -> bool

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

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

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

impl PartialEq<Int> for i32

source§

fn eq(&self, v: &Int) -> bool

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

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

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

impl PartialEq<Int> for i64

source§

fn eq(&self, v: &Int) -> bool

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

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

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

impl PartialEq<Int> for i8

source§

fn eq(&self, v: &Int) -> bool

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

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

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

impl PartialEq<Int> for isize

source§

fn eq(&self, v: &Int) -> bool

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

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

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

impl PartialEq<Int> for u128

source§

fn eq(&self, v: &Int) -> bool

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

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

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

impl PartialEq<Int> for u16

source§

fn eq(&self, v: &Int) -> bool

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

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

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

impl PartialEq<Int> for u32

source§

fn eq(&self, v: &Int) -> bool

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

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

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

impl PartialEq<Int> for u64

source§

fn eq(&self, v: &Int) -> bool

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

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

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

impl PartialEq<Int> for u8

source§

fn eq(&self, v: &Int) -> bool

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

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

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

impl PartialEq<Int> for usize

source§

fn eq(&self, v: &Int) -> bool

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

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

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

impl PartialEq<i128> for Int

source§

fn eq(&self, v: &i128) -> bool

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

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

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

impl PartialEq<i16> for Int

source§

fn eq(&self, v: &i16) -> bool

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

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

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

impl PartialEq<i32> for Int

source§

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

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

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

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

impl PartialEq<i64> for Int

source§

fn eq(&self, v: &i64) -> bool

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

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

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

impl PartialEq<i8> for Int

source§

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

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

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

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

impl PartialEq<isize> for Int

source§

fn eq(&self, v: &isize) -> bool

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

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

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

impl PartialEq<u128> for Int

source§

fn eq(&self, v: &u128) -> bool

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

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

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

impl PartialEq<u16> for Int

source§

fn eq(&self, v: &u16) -> bool

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

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

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

impl PartialEq<u32> for Int

source§

fn eq(&self, v: &u32) -> bool

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

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

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

impl PartialEq<u64> for Int

source§

fn eq(&self, v: &u64) -> bool

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

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

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

impl PartialEq<u8> for Int

source§

fn eq(&self, v: &u8) -> bool

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

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

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

impl PartialEq<usize> for Int

source§

fn eq(&self, v: &usize) -> bool

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

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

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

impl PartialEq for Int

source§

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

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

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

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

impl PartialOrd<Int> for i128

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Int> for i16

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Int> for i32

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Int> for i64

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Int> for i8

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Int> for isize

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Int> for u128

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Int> for u16

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Int> for u32

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Int> for u64

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Int> for u8

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Int> for usize

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<i128> for Int

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<i16> for Int

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<i32> for Int

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<i64> for Int

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<i8> for Int

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<isize> for Int

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<u128> for Int

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<u16> for Int

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<u32> for Int

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<u64> for Int

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<u8> for Int

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<usize> for Int

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd for Int

source§

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

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

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

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

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

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

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

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

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

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

impl Rem<Int> for i128

§

type Output = Int

The resulting type after applying the % operator.
source§

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

Performs the % operation. Read more
source§

impl Rem<Int> for i16

§

type Output = Int

The resulting type after applying the % operator.
source§

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

Performs the % operation. Read more
source§

impl Rem<Int> for i32

§

type Output = Int

The resulting type after applying the % operator.
source§

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

Performs the % operation. Read more
source§

impl Rem<Int> for i64

§

type Output = Int

The resulting type after applying the % operator.
source§

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

Performs the % operation. Read more
source§

impl Rem<Int> for i8

§

type Output = Int

The resulting type after applying the % operator.
source§

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

Performs the % operation. Read more
source§

impl Rem<Int> for isize

§

type Output = Int

The resulting type after applying the % operator.
source§

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

Performs the % operation. Read more
source§

impl Rem<Int> for u128

§

type Output = Int

The resulting type after applying the % operator.
source§

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

Performs the % operation. Read more
source§

impl Rem<Int> for u16

§

type Output = Int

The resulting type after applying the % operator.
source§

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

Performs the % operation. Read more
source§

impl Rem<Int> for u32

§

type Output = Int

The resulting type after applying the % operator.
source§

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

Performs the % operation. Read more
source§

impl Rem<Int> for u64

§

type Output = Int

The resulting type after applying the % operator.
source§

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

Performs the % operation. Read more
source§

impl Rem<Int> for u8

§

type Output = Int

The resulting type after applying the % operator.
source§

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

Performs the % operation. Read more
source§

impl Rem<Int> for usize

§

type Output = Int

The resulting type after applying the % operator.
source§

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

Performs the % operation. Read more
source§

impl Rem<i128> for Int

§

type Output = Int

The resulting type after applying the % operator.
source§

fn rem(self, other: i128) -> Int

Performs the % operation. Read more
source§

impl Rem<i16> for Int

§

type Output = Int

The resulting type after applying the % operator.
source§

fn rem(self, other: i16) -> Int

Performs the % operation. Read more
source§

impl Rem<i32> for Int

§

type Output = Int

The resulting type after applying the % operator.
source§

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

Performs the % operation. Read more
source§

impl Rem<i64> for Int

§

type Output = Int

The resulting type after applying the % operator.
source§

fn rem(self, other: i64) -> Int

Performs the % operation. Read more
source§

impl Rem<i8> for Int

§

type Output = Int

The resulting type after applying the % operator.
source§

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

Performs the % operation. Read more
source§

impl Rem<isize> for Int

§

type Output = Int

The resulting type after applying the % operator.
source§

fn rem(self, other: isize) -> Int

Performs the % operation. Read more
source§

impl Rem<u128> for Int

§

type Output = Int

The resulting type after applying the % operator.
source§

fn rem(self, other: u128) -> Int

Performs the % operation. Read more
source§

impl Rem<u16> for Int

§

type Output = Int

The resulting type after applying the % operator.
source§

fn rem(self, other: u16) -> Int

Performs the % operation. Read more
source§

impl Rem<u32> for Int

§

type Output = Int

The resulting type after applying the % operator.
source§

fn rem(self, other: u32) -> Int

Performs the % operation. Read more
source§

impl Rem<u64> for Int

§

type Output = Int

The resulting type after applying the % operator.
source§

fn rem(self, other: u64) -> Int

Performs the % operation. Read more
source§

impl Rem<u8> for Int

§

type Output = Int

The resulting type after applying the % operator.
source§

fn rem(self, other: u8) -> Int

Performs the % operation. Read more
source§

impl Rem<usize> for Int

§

type Output = Int

The resulting type after applying the % operator.
source§

fn rem(self, other: usize) -> Int

Performs the % operation. Read more
source§

impl Rem for Int

§

type Output = Int

The resulting type after applying the % operator.
source§

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

Performs the % operation. Read more
source§

impl RemAssign<i128> for Int

source§

fn rem_assign(&mut self, other: i128)

Performs the %= operation. Read more
source§

impl RemAssign<i16> for Int

source§

fn rem_assign(&mut self, other: i16)

Performs the %= operation. Read more
source§

impl RemAssign<i32> for Int

source§

fn rem_assign(&mut self, other: i32)

Performs the %= operation. Read more
source§

impl RemAssign<i64> for Int

source§

fn rem_assign(&mut self, other: i64)

Performs the %= operation. Read more
source§

impl RemAssign<i8> for Int

source§

fn rem_assign(&mut self, other: i8)

Performs the %= operation. Read more
source§

impl RemAssign<isize> for Int

source§

fn rem_assign(&mut self, other: isize)

Performs the %= operation. Read more
source§

impl RemAssign<u128> for Int

source§

fn rem_assign(&mut self, other: u128)

Performs the %= operation. Read more
source§

impl RemAssign<u16> for Int

source§

fn rem_assign(&mut self, other: u16)

Performs the %= operation. Read more
source§

impl RemAssign<u32> for Int

source§

fn rem_assign(&mut self, other: u32)

Performs the %= operation. Read more
source§

impl RemAssign<u64> for Int

source§

fn rem_assign(&mut self, other: u64)

Performs the %= operation. Read more
source§

impl RemAssign<u8> for Int

source§

fn rem_assign(&mut self, other: u8)

Performs the %= operation. Read more
source§

impl RemAssign<usize> for Int

source§

fn rem_assign(&mut self, other: usize)

Performs the %= operation. Read more
source§

impl RemAssign for Int

source§

fn rem_assign(&mut self, other: Int)

Performs the %= operation. Read more
source§

impl Serialize for Int

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

impl Sub<Int> for i128

§

type Output = Int

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
source§

impl Sub<Int> for i16

§

type Output = Int

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
source§

impl Sub<Int> for i32

§

type Output = Int

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
source§

impl Sub<Int> for i64

§

type Output = Int

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
source§

impl Sub<Int> for i8

§

type Output = Int

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
source§

impl Sub<Int> for isize

§

type Output = Int

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
source§

impl Sub<Int> for u128

§

type Output = Int

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
source§

impl Sub<Int> for u16

§

type Output = Int

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
source§

impl Sub<Int> for u32

§

type Output = Int

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
source§

impl Sub<Int> for u64

§

type Output = Int

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
source§

impl Sub<Int> for u8

§

type Output = Int

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
source§

impl Sub<Int> for usize

§

type Output = Int

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
source§

impl Sub<i128> for Int

§

type Output = Int

The resulting type after applying the - operator.
source§

fn sub(self, other: i128) -> Int

Performs the - operation. Read more
source§

impl Sub<i16> for Int

§

type Output = Int

The resulting type after applying the - operator.
source§

fn sub(self, other: i16) -> Int

Performs the - operation. Read more
source§

impl Sub<i32> for Int

§

type Output = Int

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
source§

impl Sub<i64> for Int

§

type Output = Int

The resulting type after applying the - operator.
source§

fn sub(self, other: i64) -> Int

Performs the - operation. Read more
source§

impl Sub<i8> for Int

§

type Output = Int

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
source§

impl Sub<isize> for Int

§

type Output = Int

The resulting type after applying the - operator.
source§

fn sub(self, other: isize) -> Int

Performs the - operation. Read more
source§

impl Sub<u128> for Int

§

type Output = Int

The resulting type after applying the - operator.
source§

fn sub(self, other: u128) -> Int

Performs the - operation. Read more
source§

impl Sub<u16> for Int

§

type Output = Int

The resulting type after applying the - operator.
source§

fn sub(self, other: u16) -> Int

Performs the - operation. Read more
source§

impl Sub<u32> for Int

§

type Output = Int

The resulting type after applying the - operator.
source§

fn sub(self, other: u32) -> Int

Performs the - operation. Read more
source§

impl Sub<u64> for Int

§

type Output = Int

The resulting type after applying the - operator.
source§

fn sub(self, other: u64) -> Int

Performs the - operation. Read more
source§

impl Sub<u8> for Int

§

type Output = Int

The resulting type after applying the - operator.
source§

fn sub(self, other: u8) -> Int

Performs the - operation. Read more
source§

impl Sub<usize> for Int

§

type Output = Int

The resulting type after applying the - operator.
source§

fn sub(self, other: usize) -> Int

Performs the - operation. Read more
source§

impl Sub for Int

§

type Output = Int

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
source§

impl SubAssign<i128> for Int

source§

fn sub_assign(&mut self, other: i128)

Performs the -= operation. Read more
source§

impl SubAssign<i16> for Int

source§

fn sub_assign(&mut self, other: i16)

Performs the -= operation. Read more
source§

impl SubAssign<i32> for Int

source§

fn sub_assign(&mut self, other: i32)

Performs the -= operation. Read more
source§

impl SubAssign<i64> for Int

source§

fn sub_assign(&mut self, other: i64)

Performs the -= operation. Read more
source§

impl SubAssign<i8> for Int

source§

fn sub_assign(&mut self, other: i8)

Performs the -= operation. Read more
source§

impl SubAssign<isize> for Int

source§

fn sub_assign(&mut self, other: isize)

Performs the -= operation. Read more
source§

impl SubAssign<u128> for Int

source§

fn sub_assign(&mut self, other: u128)

Performs the -= operation. Read more
source§

impl SubAssign<u16> for Int

source§

fn sub_assign(&mut self, other: u16)

Performs the -= operation. Read more
source§

impl SubAssign<u32> for Int

source§

fn sub_assign(&mut self, other: u32)

Performs the -= operation. Read more
source§

impl SubAssign<u64> for Int

source§

fn sub_assign(&mut self, other: u64)

Performs the -= operation. Read more
source§

impl SubAssign<u8> for Int

source§

fn sub_assign(&mut self, other: u8)

Performs the -= operation. Read more
source§

impl SubAssign<usize> for Int

source§

fn sub_assign(&mut self, other: usize)

Performs the -= operation. Read more
source§

impl SubAssign for Int

source§

fn sub_assign(&mut self, other: Int)

Performs the -= operation. Read more
source§

impl Eq for Int

source§

impl StructuralPartialEq for Int

Auto Trait Implementations§

§

impl Freeze for Int

§

impl RefUnwindSafe for Int

§

impl Send for Int

§

impl Sync for Int

§

impl Unpin for Int

§

impl UnwindSafe for Int

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

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

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

source§

impl<T, Rhs> NumAssignOps<Rhs> for T
where T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,

source§

impl<T, Rhs, Output> NumOps<Rhs, Output> for T
where T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,