pub struct Int(pub BigInt);
Tuple Fields
0: BigInt
Implementations
Trait Implementations
sourceimpl AddAssign<Int> for Int
impl AddAssign<Int> for Int
sourcefn add_assign(&mut self, other: Int)
fn add_assign(&mut self, other: Int)
Performs the +=
operation. Read more
sourceimpl AddAssign<i128> for Int
impl AddAssign<i128> for Int
sourcefn add_assign(&mut self, other: i128)
fn add_assign(&mut self, other: i128)
Performs the +=
operation. Read more
sourceimpl AddAssign<i16> for Int
impl AddAssign<i16> for Int
sourcefn add_assign(&mut self, other: i16)
fn add_assign(&mut self, other: i16)
Performs the +=
operation. Read more
sourceimpl AddAssign<i32> for Int
impl AddAssign<i32> for Int
sourcefn add_assign(&mut self, other: i32)
fn add_assign(&mut self, other: i32)
Performs the +=
operation. Read more
sourceimpl AddAssign<i64> for Int
impl AddAssign<i64> for Int
sourcefn add_assign(&mut self, other: i64)
fn add_assign(&mut self, other: i64)
Performs the +=
operation. Read more
sourceimpl AddAssign<i8> for Int
impl AddAssign<i8> for Int
sourcefn add_assign(&mut self, other: i8)
fn add_assign(&mut self, other: i8)
Performs the +=
operation. Read more
sourceimpl AddAssign<isize> for Int
impl AddAssign<isize> for Int
sourcefn add_assign(&mut self, other: isize)
fn add_assign(&mut self, other: isize)
Performs the +=
operation. Read more
sourceimpl AddAssign<u128> for Int
impl AddAssign<u128> for Int
sourcefn add_assign(&mut self, other: u128)
fn add_assign(&mut self, other: u128)
Performs the +=
operation. Read more
sourceimpl AddAssign<u16> for Int
impl AddAssign<u16> for Int
sourcefn add_assign(&mut self, other: u16)
fn add_assign(&mut self, other: u16)
Performs the +=
operation. Read more
sourceimpl AddAssign<u32> for Int
impl AddAssign<u32> for Int
sourcefn add_assign(&mut self, other: u32)
fn add_assign(&mut self, other: u32)
Performs the +=
operation. Read more
sourceimpl AddAssign<u64> for Int
impl AddAssign<u64> for Int
sourcefn add_assign(&mut self, other: u64)
fn add_assign(&mut self, other: u64)
Performs the +=
operation. Read more
sourceimpl AddAssign<u8> for Int
impl AddAssign<u8> for Int
sourcefn add_assign(&mut self, other: u8)
fn add_assign(&mut self, other: u8)
Performs the +=
operation. Read more
sourceimpl AddAssign<usize> for Int
impl AddAssign<usize> for Int
sourcefn add_assign(&mut self, other: usize)
fn add_assign(&mut self, other: usize)
Performs the +=
operation. Read more
sourceimpl CandidType for Int
impl CandidType for Int
sourceimpl<'de> Deserialize<'de> for Int
impl<'de> Deserialize<'de> for Int
sourcefn deserialize<D>(deserializer: D) -> Result<Int, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Int, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl DivAssign<Int> for Int
impl DivAssign<Int> for Int
sourcefn div_assign(&mut self, other: Int)
fn div_assign(&mut self, other: Int)
Performs the /=
operation. Read more
sourceimpl DivAssign<i128> for Int
impl DivAssign<i128> for Int
sourcefn div_assign(&mut self, other: i128)
fn div_assign(&mut self, other: i128)
Performs the /=
operation. Read more
sourceimpl DivAssign<i16> for Int
impl DivAssign<i16> for Int
sourcefn div_assign(&mut self, other: i16)
fn div_assign(&mut self, other: i16)
Performs the /=
operation. Read more
sourceimpl DivAssign<i32> for Int
impl DivAssign<i32> for Int
sourcefn div_assign(&mut self, other: i32)
fn div_assign(&mut self, other: i32)
Performs the /=
operation. Read more
sourceimpl DivAssign<i64> for Int
impl DivAssign<i64> for Int
sourcefn div_assign(&mut self, other: i64)
fn div_assign(&mut self, other: i64)
Performs the /=
operation. Read more
sourceimpl DivAssign<i8> for Int
impl DivAssign<i8> for Int
sourcefn div_assign(&mut self, other: i8)
fn div_assign(&mut self, other: i8)
Performs the /=
operation. Read more
sourceimpl DivAssign<isize> for Int
impl DivAssign<isize> for Int
sourcefn div_assign(&mut self, other: isize)
fn div_assign(&mut self, other: isize)
Performs the /=
operation. Read more
sourceimpl DivAssign<u128> for Int
impl DivAssign<u128> for Int
sourcefn div_assign(&mut self, other: u128)
fn div_assign(&mut self, other: u128)
Performs the /=
operation. Read more
sourceimpl DivAssign<u16> for Int
impl DivAssign<u16> for Int
sourcefn div_assign(&mut self, other: u16)
fn div_assign(&mut self, other: u16)
Performs the /=
operation. Read more
sourceimpl DivAssign<u32> for Int
impl DivAssign<u32> for Int
sourcefn div_assign(&mut self, other: u32)
fn div_assign(&mut self, other: u32)
Performs the /=
operation. Read more
sourceimpl DivAssign<u64> for Int
impl DivAssign<u64> for Int
sourcefn div_assign(&mut self, other: u64)
fn div_assign(&mut self, other: u64)
Performs the /=
operation. Read more
sourceimpl DivAssign<u8> for Int
impl DivAssign<u8> for Int
sourcefn div_assign(&mut self, other: u8)
fn div_assign(&mut self, other: u8)
Performs the /=
operation. Read more
sourceimpl DivAssign<usize> for Int
impl DivAssign<usize> for Int
sourcefn div_assign(&mut self, other: usize)
fn div_assign(&mut self, other: usize)
Performs the /=
operation. Read more
sourceimpl MulAssign<Int> for Int
impl MulAssign<Int> for Int
sourcefn mul_assign(&mut self, other: Int)
fn mul_assign(&mut self, other: Int)
Performs the *=
operation. Read more
sourceimpl MulAssign<i128> for Int
impl MulAssign<i128> for Int
sourcefn mul_assign(&mut self, other: i128)
fn mul_assign(&mut self, other: i128)
Performs the *=
operation. Read more
sourceimpl MulAssign<i16> for Int
impl MulAssign<i16> for Int
sourcefn mul_assign(&mut self, other: i16)
fn mul_assign(&mut self, other: i16)
Performs the *=
operation. Read more
sourceimpl MulAssign<i32> for Int
impl MulAssign<i32> for Int
sourcefn mul_assign(&mut self, other: i32)
fn mul_assign(&mut self, other: i32)
Performs the *=
operation. Read more
sourceimpl MulAssign<i64> for Int
impl MulAssign<i64> for Int
sourcefn mul_assign(&mut self, other: i64)
fn mul_assign(&mut self, other: i64)
Performs the *=
operation. Read more
sourceimpl MulAssign<i8> for Int
impl MulAssign<i8> for Int
sourcefn mul_assign(&mut self, other: i8)
fn mul_assign(&mut self, other: i8)
Performs the *=
operation. Read more
sourceimpl MulAssign<isize> for Int
impl MulAssign<isize> for Int
sourcefn mul_assign(&mut self, other: isize)
fn mul_assign(&mut self, other: isize)
Performs the *=
operation. Read more
sourceimpl MulAssign<u128> for Int
impl MulAssign<u128> for Int
sourcefn mul_assign(&mut self, other: u128)
fn mul_assign(&mut self, other: u128)
Performs the *=
operation. Read more
sourceimpl MulAssign<u16> for Int
impl MulAssign<u16> for Int
sourcefn mul_assign(&mut self, other: u16)
fn mul_assign(&mut self, other: u16)
Performs the *=
operation. Read more
sourceimpl MulAssign<u32> for Int
impl MulAssign<u32> for Int
sourcefn mul_assign(&mut self, other: u32)
fn mul_assign(&mut self, other: u32)
Performs the *=
operation. Read more
sourceimpl MulAssign<u64> for Int
impl MulAssign<u64> for Int
sourcefn mul_assign(&mut self, other: u64)
fn mul_assign(&mut self, other: u64)
Performs the *=
operation. Read more
sourceimpl MulAssign<u8> for Int
impl MulAssign<u8> for Int
sourcefn mul_assign(&mut self, other: u8)
fn mul_assign(&mut self, other: u8)
Performs the *=
operation. Read more
sourceimpl MulAssign<usize> for Int
impl MulAssign<usize> for Int
sourcefn mul_assign(&mut self, other: usize)
fn mul_assign(&mut self, other: usize)
Performs the *=
operation. Read more
sourceimpl Ord for Int
impl Ord for Int
sourceimpl PartialOrd<Int> for Int
impl PartialOrd<Int> for Int
sourcefn partial_cmp(&self, other: &Int) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<Int> for usize
impl PartialOrd<Int> for usize
sourcefn partial_cmp(&self, other: &Int) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<Int> for i32
impl PartialOrd<Int> for i32
sourcefn partial_cmp(&self, other: &Int) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<Int> for i64
impl PartialOrd<Int> for i64
sourcefn partial_cmp(&self, other: &Int) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<Int> for i128
impl PartialOrd<Int> for i128
sourcefn partial_cmp(&self, other: &Int) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<Int> for u8
impl PartialOrd<Int> for u8
sourcefn partial_cmp(&self, other: &Int) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<Int> for u16
impl PartialOrd<Int> for u16
sourcefn partial_cmp(&self, other: &Int) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<Int> for u32
impl PartialOrd<Int> for u32
sourcefn partial_cmp(&self, other: &Int) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<Int> for u64
impl PartialOrd<Int> for u64
sourcefn partial_cmp(&self, other: &Int) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<Int> for u128
impl PartialOrd<Int> for u128
sourcefn partial_cmp(&self, other: &Int) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<Int> for isize
impl PartialOrd<Int> for isize
sourcefn partial_cmp(&self, other: &Int) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<Int> for i8
impl PartialOrd<Int> for i8
sourcefn partial_cmp(&self, other: &Int) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<Int> for i16
impl PartialOrd<Int> for i16
sourcefn partial_cmp(&self, other: &Int) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<i128> for Int
impl PartialOrd<i128> for Int
sourcefn partial_cmp(&self, other: &i128) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<i16> for Int
impl PartialOrd<i16> for Int
sourcefn partial_cmp(&self, other: &i16) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<i32> for Int
impl PartialOrd<i32> for Int
sourcefn partial_cmp(&self, other: &i32) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<i64> for Int
impl PartialOrd<i64> for Int
sourcefn partial_cmp(&self, other: &i64) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<i8> for Int
impl PartialOrd<i8> for Int
sourcefn partial_cmp(&self, other: &i8) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<isize> for Int
impl PartialOrd<isize> for Int
sourcefn partial_cmp(&self, other: &isize) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<u128> for Int
impl PartialOrd<u128> for Int
sourcefn partial_cmp(&self, other: &u128) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<u16> for Int
impl PartialOrd<u16> for Int
sourcefn partial_cmp(&self, other: &u16) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<u32> for Int
impl PartialOrd<u32> for Int
sourcefn partial_cmp(&self, other: &u32) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<u64> for Int
impl PartialOrd<u64> for Int
sourcefn partial_cmp(&self, other: &u64) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<u8> for Int
impl PartialOrd<u8> for Int
sourcefn partial_cmp(&self, other: &u8) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl PartialOrd<usize> for Int
impl PartialOrd<usize> for Int
sourcefn partial_cmp(&self, other: &usize) -> Option<Ordering>
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 · sourcefn lt(&self, other: &Rhs) -> bool
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 · sourcefn le(&self, other: &Rhs) -> bool
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
sourceimpl RemAssign<Int> for Int
impl RemAssign<Int> for Int
sourcefn rem_assign(&mut self, other: Int)
fn rem_assign(&mut self, other: Int)
Performs the %=
operation. Read more
sourceimpl RemAssign<i128> for Int
impl RemAssign<i128> for Int
sourcefn rem_assign(&mut self, other: i128)
fn rem_assign(&mut self, other: i128)
Performs the %=
operation. Read more
sourceimpl RemAssign<i16> for Int
impl RemAssign<i16> for Int
sourcefn rem_assign(&mut self, other: i16)
fn rem_assign(&mut self, other: i16)
Performs the %=
operation. Read more
sourceimpl RemAssign<i32> for Int
impl RemAssign<i32> for Int
sourcefn rem_assign(&mut self, other: i32)
fn rem_assign(&mut self, other: i32)
Performs the %=
operation. Read more
sourceimpl RemAssign<i64> for Int
impl RemAssign<i64> for Int
sourcefn rem_assign(&mut self, other: i64)
fn rem_assign(&mut self, other: i64)
Performs the %=
operation. Read more
sourceimpl RemAssign<i8> for Int
impl RemAssign<i8> for Int
sourcefn rem_assign(&mut self, other: i8)
fn rem_assign(&mut self, other: i8)
Performs the %=
operation. Read more
sourceimpl RemAssign<isize> for Int
impl RemAssign<isize> for Int
sourcefn rem_assign(&mut self, other: isize)
fn rem_assign(&mut self, other: isize)
Performs the %=
operation. Read more
sourceimpl RemAssign<u128> for Int
impl RemAssign<u128> for Int
sourcefn rem_assign(&mut self, other: u128)
fn rem_assign(&mut self, other: u128)
Performs the %=
operation. Read more
sourceimpl RemAssign<u16> for Int
impl RemAssign<u16> for Int
sourcefn rem_assign(&mut self, other: u16)
fn rem_assign(&mut self, other: u16)
Performs the %=
operation. Read more
sourceimpl RemAssign<u32> for Int
impl RemAssign<u32> for Int
sourcefn rem_assign(&mut self, other: u32)
fn rem_assign(&mut self, other: u32)
Performs the %=
operation. Read more
sourceimpl RemAssign<u64> for Int
impl RemAssign<u64> for Int
sourcefn rem_assign(&mut self, other: u64)
fn rem_assign(&mut self, other: u64)
Performs the %=
operation. Read more
sourceimpl RemAssign<u8> for Int
impl RemAssign<u8> for Int
sourcefn rem_assign(&mut self, other: u8)
fn rem_assign(&mut self, other: u8)
Performs the %=
operation. Read more
sourceimpl RemAssign<usize> for Int
impl RemAssign<usize> for Int
sourcefn rem_assign(&mut self, other: usize)
fn rem_assign(&mut self, other: usize)
Performs the %=
operation. Read more
sourceimpl SubAssign<Int> for Int
impl SubAssign<Int> for Int
sourcefn sub_assign(&mut self, other: Int)
fn sub_assign(&mut self, other: Int)
Performs the -=
operation. Read more
sourceimpl SubAssign<i128> for Int
impl SubAssign<i128> for Int
sourcefn sub_assign(&mut self, other: i128)
fn sub_assign(&mut self, other: i128)
Performs the -=
operation. Read more
sourceimpl SubAssign<i16> for Int
impl SubAssign<i16> for Int
sourcefn sub_assign(&mut self, other: i16)
fn sub_assign(&mut self, other: i16)
Performs the -=
operation. Read more
sourceimpl SubAssign<i32> for Int
impl SubAssign<i32> for Int
sourcefn sub_assign(&mut self, other: i32)
fn sub_assign(&mut self, other: i32)
Performs the -=
operation. Read more
sourceimpl SubAssign<i64> for Int
impl SubAssign<i64> for Int
sourcefn sub_assign(&mut self, other: i64)
fn sub_assign(&mut self, other: i64)
Performs the -=
operation. Read more
sourceimpl SubAssign<i8> for Int
impl SubAssign<i8> for Int
sourcefn sub_assign(&mut self, other: i8)
fn sub_assign(&mut self, other: i8)
Performs the -=
operation. Read more
sourceimpl SubAssign<isize> for Int
impl SubAssign<isize> for Int
sourcefn sub_assign(&mut self, other: isize)
fn sub_assign(&mut self, other: isize)
Performs the -=
operation. Read more
sourceimpl SubAssign<u128> for Int
impl SubAssign<u128> for Int
sourcefn sub_assign(&mut self, other: u128)
fn sub_assign(&mut self, other: u128)
Performs the -=
operation. Read more
sourceimpl SubAssign<u16> for Int
impl SubAssign<u16> for Int
sourcefn sub_assign(&mut self, other: u16)
fn sub_assign(&mut self, other: u16)
Performs the -=
operation. Read more
sourceimpl SubAssign<u32> for Int
impl SubAssign<u32> for Int
sourcefn sub_assign(&mut self, other: u32)
fn sub_assign(&mut self, other: u32)
Performs the -=
operation. Read more
sourceimpl SubAssign<u64> for Int
impl SubAssign<u64> for Int
sourcefn sub_assign(&mut self, other: u64)
fn sub_assign(&mut self, other: u64)
Performs the -=
operation. Read more
sourceimpl SubAssign<u8> for Int
impl SubAssign<u8> for Int
sourcefn sub_assign(&mut self, other: u8)
fn sub_assign(&mut self, other: u8)
Performs the -=
operation. Read more
sourceimpl SubAssign<usize> for Int
impl SubAssign<usize> for Int
sourcefn sub_assign(&mut self, other: usize)
fn sub_assign(&mut self, other: usize)
Performs the -=
operation. Read more
impl Eq for Int
impl StructuralEq for Int
impl StructuralPartialEq for Int
Auto Trait Implementations
impl RefUnwindSafe for Int
impl Send for Int
impl Sync for Int
impl Unpin for Int
impl UnwindSafe for Int
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more