pub struct Int(pub BigInt);
Tuple Fields§
§0: BigInt
Implementations§
Trait Implementations§
source§impl AddAssign<i128> for Int
impl AddAssign<i128> for Int
source§fn add_assign(&mut self, other: i128)
fn add_assign(&mut self, other: i128)
Performs the
+=
operation. Read moresource§impl AddAssign<i16> for Int
impl AddAssign<i16> for Int
source§fn add_assign(&mut self, other: i16)
fn add_assign(&mut self, other: i16)
Performs the
+=
operation. Read moresource§impl AddAssign<i32> for Int
impl AddAssign<i32> for Int
source§fn add_assign(&mut self, other: i32)
fn add_assign(&mut self, other: i32)
Performs the
+=
operation. Read moresource§impl AddAssign<i64> for Int
impl AddAssign<i64> for Int
source§fn add_assign(&mut self, other: i64)
fn add_assign(&mut self, other: i64)
Performs the
+=
operation. Read moresource§impl AddAssign<i8> for Int
impl AddAssign<i8> for Int
source§fn add_assign(&mut self, other: i8)
fn add_assign(&mut self, other: i8)
Performs the
+=
operation. Read moresource§impl AddAssign<isize> for Int
impl AddAssign<isize> for Int
source§fn add_assign(&mut self, other: isize)
fn add_assign(&mut self, other: isize)
Performs the
+=
operation. Read moresource§impl AddAssign<u128> for Int
impl AddAssign<u128> for Int
source§fn add_assign(&mut self, other: u128)
fn add_assign(&mut self, other: u128)
Performs the
+=
operation. Read moresource§impl AddAssign<u16> for Int
impl AddAssign<u16> for Int
source§fn add_assign(&mut self, other: u16)
fn add_assign(&mut self, other: u16)
Performs the
+=
operation. Read moresource§impl AddAssign<u32> for Int
impl AddAssign<u32> for Int
source§fn add_assign(&mut self, other: u32)
fn add_assign(&mut self, other: u32)
Performs the
+=
operation. Read moresource§impl AddAssign<u64> for Int
impl AddAssign<u64> for Int
source§fn add_assign(&mut self, other: u64)
fn add_assign(&mut self, other: u64)
Performs the
+=
operation. Read moresource§impl AddAssign<u8> for Int
impl AddAssign<u8> for Int
source§fn add_assign(&mut self, other: u8)
fn add_assign(&mut self, other: u8)
Performs the
+=
operation. Read moresource§impl AddAssign<usize> for Int
impl AddAssign<usize> for Int
source§fn add_assign(&mut self, other: usize)
fn add_assign(&mut self, other: usize)
Performs the
+=
operation. Read moresource§impl AddAssign for Int
impl AddAssign for Int
source§fn add_assign(&mut self, other: Int)
fn add_assign(&mut self, other: Int)
Performs the
+=
operation. Read moresource§impl CandidType for Int
impl CandidType for Int
source§impl<'de> Deserialize<'de> for Int
impl<'de> Deserialize<'de> for Int
source§fn 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
source§impl DivAssign<i128> for Int
impl DivAssign<i128> for Int
source§fn div_assign(&mut self, other: i128)
fn div_assign(&mut self, other: i128)
Performs the
/=
operation. Read moresource§impl DivAssign<i16> for Int
impl DivAssign<i16> for Int
source§fn div_assign(&mut self, other: i16)
fn div_assign(&mut self, other: i16)
Performs the
/=
operation. Read moresource§impl DivAssign<i32> for Int
impl DivAssign<i32> for Int
source§fn div_assign(&mut self, other: i32)
fn div_assign(&mut self, other: i32)
Performs the
/=
operation. Read moresource§impl DivAssign<i64> for Int
impl DivAssign<i64> for Int
source§fn div_assign(&mut self, other: i64)
fn div_assign(&mut self, other: i64)
Performs the
/=
operation. Read moresource§impl DivAssign<i8> for Int
impl DivAssign<i8> for Int
source§fn div_assign(&mut self, other: i8)
fn div_assign(&mut self, other: i8)
Performs the
/=
operation. Read moresource§impl DivAssign<isize> for Int
impl DivAssign<isize> for Int
source§fn div_assign(&mut self, other: isize)
fn div_assign(&mut self, other: isize)
Performs the
/=
operation. Read moresource§impl DivAssign<u128> for Int
impl DivAssign<u128> for Int
source§fn div_assign(&mut self, other: u128)
fn div_assign(&mut self, other: u128)
Performs the
/=
operation. Read moresource§impl DivAssign<u16> for Int
impl DivAssign<u16> for Int
source§fn div_assign(&mut self, other: u16)
fn div_assign(&mut self, other: u16)
Performs the
/=
operation. Read moresource§impl DivAssign<u32> for Int
impl DivAssign<u32> for Int
source§fn div_assign(&mut self, other: u32)
fn div_assign(&mut self, other: u32)
Performs the
/=
operation. Read moresource§impl DivAssign<u64> for Int
impl DivAssign<u64> for Int
source§fn div_assign(&mut self, other: u64)
fn div_assign(&mut self, other: u64)
Performs the
/=
operation. Read moresource§impl DivAssign<u8> for Int
impl DivAssign<u8> for Int
source§fn div_assign(&mut self, other: u8)
fn div_assign(&mut self, other: u8)
Performs the
/=
operation. Read moresource§impl DivAssign<usize> for Int
impl DivAssign<usize> for Int
source§fn div_assign(&mut self, other: usize)
fn div_assign(&mut self, other: usize)
Performs the
/=
operation. Read moresource§impl DivAssign for Int
impl DivAssign for Int
source§fn div_assign(&mut self, other: Int)
fn div_assign(&mut self, other: Int)
Performs the
/=
operation. Read moresource§impl MulAssign<i128> for Int
impl MulAssign<i128> for Int
source§fn mul_assign(&mut self, other: i128)
fn mul_assign(&mut self, other: i128)
Performs the
*=
operation. Read moresource§impl MulAssign<i16> for Int
impl MulAssign<i16> for Int
source§fn mul_assign(&mut self, other: i16)
fn mul_assign(&mut self, other: i16)
Performs the
*=
operation. Read moresource§impl MulAssign<i32> for Int
impl MulAssign<i32> for Int
source§fn mul_assign(&mut self, other: i32)
fn mul_assign(&mut self, other: i32)
Performs the
*=
operation. Read moresource§impl MulAssign<i64> for Int
impl MulAssign<i64> for Int
source§fn mul_assign(&mut self, other: i64)
fn mul_assign(&mut self, other: i64)
Performs the
*=
operation. Read moresource§impl MulAssign<i8> for Int
impl MulAssign<i8> for Int
source§fn mul_assign(&mut self, other: i8)
fn mul_assign(&mut self, other: i8)
Performs the
*=
operation. Read moresource§impl MulAssign<isize> for Int
impl MulAssign<isize> for Int
source§fn mul_assign(&mut self, other: isize)
fn mul_assign(&mut self, other: isize)
Performs the
*=
operation. Read moresource§impl MulAssign<u128> for Int
impl MulAssign<u128> for Int
source§fn mul_assign(&mut self, other: u128)
fn mul_assign(&mut self, other: u128)
Performs the
*=
operation. Read moresource§impl MulAssign<u16> for Int
impl MulAssign<u16> for Int
source§fn mul_assign(&mut self, other: u16)
fn mul_assign(&mut self, other: u16)
Performs the
*=
operation. Read moresource§impl MulAssign<u32> for Int
impl MulAssign<u32> for Int
source§fn mul_assign(&mut self, other: u32)
fn mul_assign(&mut self, other: u32)
Performs the
*=
operation. Read moresource§impl MulAssign<u64> for Int
impl MulAssign<u64> for Int
source§fn mul_assign(&mut self, other: u64)
fn mul_assign(&mut self, other: u64)
Performs the
*=
operation. Read moresource§impl MulAssign<u8> for Int
impl MulAssign<u8> for Int
source§fn mul_assign(&mut self, other: u8)
fn mul_assign(&mut self, other: u8)
Performs the
*=
operation. Read moresource§impl MulAssign<usize> for Int
impl MulAssign<usize> for Int
source§fn mul_assign(&mut self, other: usize)
fn mul_assign(&mut self, other: usize)
Performs the
*=
operation. Read moresource§impl MulAssign for Int
impl MulAssign for Int
source§fn mul_assign(&mut self, other: Int)
fn mul_assign(&mut self, other: Int)
Performs the
*=
operation. Read moresource§impl Ord for Int
impl Ord for Int
source§impl PartialOrd<Int> for i128
impl PartialOrd<Int> for i128
1.0.0 · source§fn 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 moresource§impl PartialOrd<Int> for i16
impl PartialOrd<Int> for i16
1.0.0 · source§fn 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 moresource§impl PartialOrd<Int> for i32
impl PartialOrd<Int> for i32
1.0.0 · source§fn 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 moresource§impl PartialOrd<Int> for i64
impl PartialOrd<Int> for i64
1.0.0 · source§fn 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 moresource§impl PartialOrd<Int> for i8
impl PartialOrd<Int> for i8
1.0.0 · source§fn 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 moresource§impl PartialOrd<Int> for isize
impl PartialOrd<Int> for isize
1.0.0 · source§fn 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 moresource§impl PartialOrd<Int> for u128
impl PartialOrd<Int> for u128
1.0.0 · source§fn 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 moresource§impl PartialOrd<Int> for u16
impl PartialOrd<Int> for u16
1.0.0 · source§fn 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 moresource§impl PartialOrd<Int> for u32
impl PartialOrd<Int> for u32
1.0.0 · source§fn 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 moresource§impl PartialOrd<Int> for u64
impl PartialOrd<Int> for u64
1.0.0 · source§fn 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 moresource§impl PartialOrd<Int> for u8
impl PartialOrd<Int> for u8
1.0.0 · source§fn 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 moresource§impl PartialOrd<Int> for usize
impl PartialOrd<Int> for usize
1.0.0 · source§fn 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 moresource§impl PartialOrd<i128> for Int
impl PartialOrd<i128> for Int
1.0.0 · source§fn 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 moresource§impl PartialOrd<i16> for Int
impl PartialOrd<i16> for Int
1.0.0 · source§fn 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 moresource§impl PartialOrd<i32> for Int
impl PartialOrd<i32> for Int
1.0.0 · source§fn 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 moresource§impl PartialOrd<i64> for Int
impl PartialOrd<i64> for Int
1.0.0 · source§fn 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 moresource§impl PartialOrd<i8> for Int
impl PartialOrd<i8> for Int
1.0.0 · source§fn 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 moresource§impl PartialOrd<isize> for Int
impl PartialOrd<isize> for Int
1.0.0 · source§fn 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 moresource§impl PartialOrd<u128> for Int
impl PartialOrd<u128> for Int
1.0.0 · source§fn 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 moresource§impl PartialOrd<u16> for Int
impl PartialOrd<u16> for Int
1.0.0 · source§fn 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 moresource§impl PartialOrd<u32> for Int
impl PartialOrd<u32> for Int
1.0.0 · source§fn 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 moresource§impl PartialOrd<u64> for Int
impl PartialOrd<u64> for Int
1.0.0 · source§fn 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 moresource§impl PartialOrd<u8> for Int
impl PartialOrd<u8> for Int
1.0.0 · source§fn 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 moresource§impl PartialOrd<usize> for Int
impl PartialOrd<usize> for Int
1.0.0 · source§fn 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 moresource§impl PartialOrd for Int
impl PartialOrd for Int
1.0.0 · source§fn 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 moresource§impl RemAssign<i128> for Int
impl RemAssign<i128> for Int
source§fn rem_assign(&mut self, other: i128)
fn rem_assign(&mut self, other: i128)
Performs the
%=
operation. Read moresource§impl RemAssign<i16> for Int
impl RemAssign<i16> for Int
source§fn rem_assign(&mut self, other: i16)
fn rem_assign(&mut self, other: i16)
Performs the
%=
operation. Read moresource§impl RemAssign<i32> for Int
impl RemAssign<i32> for Int
source§fn rem_assign(&mut self, other: i32)
fn rem_assign(&mut self, other: i32)
Performs the
%=
operation. Read moresource§impl RemAssign<i64> for Int
impl RemAssign<i64> for Int
source§fn rem_assign(&mut self, other: i64)
fn rem_assign(&mut self, other: i64)
Performs the
%=
operation. Read moresource§impl RemAssign<i8> for Int
impl RemAssign<i8> for Int
source§fn rem_assign(&mut self, other: i8)
fn rem_assign(&mut self, other: i8)
Performs the
%=
operation. Read moresource§impl RemAssign<isize> for Int
impl RemAssign<isize> for Int
source§fn rem_assign(&mut self, other: isize)
fn rem_assign(&mut self, other: isize)
Performs the
%=
operation. Read moresource§impl RemAssign<u128> for Int
impl RemAssign<u128> for Int
source§fn rem_assign(&mut self, other: u128)
fn rem_assign(&mut self, other: u128)
Performs the
%=
operation. Read moresource§impl RemAssign<u16> for Int
impl RemAssign<u16> for Int
source§fn rem_assign(&mut self, other: u16)
fn rem_assign(&mut self, other: u16)
Performs the
%=
operation. Read moresource§impl RemAssign<u32> for Int
impl RemAssign<u32> for Int
source§fn rem_assign(&mut self, other: u32)
fn rem_assign(&mut self, other: u32)
Performs the
%=
operation. Read moresource§impl RemAssign<u64> for Int
impl RemAssign<u64> for Int
source§fn rem_assign(&mut self, other: u64)
fn rem_assign(&mut self, other: u64)
Performs the
%=
operation. Read moresource§impl RemAssign<u8> for Int
impl RemAssign<u8> for Int
source§fn rem_assign(&mut self, other: u8)
fn rem_assign(&mut self, other: u8)
Performs the
%=
operation. Read moresource§impl RemAssign<usize> for Int
impl RemAssign<usize> for Int
source§fn rem_assign(&mut self, other: usize)
fn rem_assign(&mut self, other: usize)
Performs the
%=
operation. Read moresource§impl RemAssign for Int
impl RemAssign for Int
source§fn rem_assign(&mut self, other: Int)
fn rem_assign(&mut self, other: Int)
Performs the
%=
operation. Read moresource§impl SubAssign<i128> for Int
impl SubAssign<i128> for Int
source§fn sub_assign(&mut self, other: i128)
fn sub_assign(&mut self, other: i128)
Performs the
-=
operation. Read moresource§impl SubAssign<i16> for Int
impl SubAssign<i16> for Int
source§fn sub_assign(&mut self, other: i16)
fn sub_assign(&mut self, other: i16)
Performs the
-=
operation. Read moresource§impl SubAssign<i32> for Int
impl SubAssign<i32> for Int
source§fn sub_assign(&mut self, other: i32)
fn sub_assign(&mut self, other: i32)
Performs the
-=
operation. Read moresource§impl SubAssign<i64> for Int
impl SubAssign<i64> for Int
source§fn sub_assign(&mut self, other: i64)
fn sub_assign(&mut self, other: i64)
Performs the
-=
operation. Read moresource§impl SubAssign<i8> for Int
impl SubAssign<i8> for Int
source§fn sub_assign(&mut self, other: i8)
fn sub_assign(&mut self, other: i8)
Performs the
-=
operation. Read moresource§impl SubAssign<isize> for Int
impl SubAssign<isize> for Int
source§fn sub_assign(&mut self, other: isize)
fn sub_assign(&mut self, other: isize)
Performs the
-=
operation. Read moresource§impl SubAssign<u128> for Int
impl SubAssign<u128> for Int
source§fn sub_assign(&mut self, other: u128)
fn sub_assign(&mut self, other: u128)
Performs the
-=
operation. Read moresource§impl SubAssign<u16> for Int
impl SubAssign<u16> for Int
source§fn sub_assign(&mut self, other: u16)
fn sub_assign(&mut self, other: u16)
Performs the
-=
operation. Read moresource§impl SubAssign<u32> for Int
impl SubAssign<u32> for Int
source§fn sub_assign(&mut self, other: u32)
fn sub_assign(&mut self, other: u32)
Performs the
-=
operation. Read moresource§impl SubAssign<u64> for Int
impl SubAssign<u64> for Int
source§fn sub_assign(&mut self, other: u64)
fn sub_assign(&mut self, other: u64)
Performs the
-=
operation. Read moresource§impl SubAssign<u8> for Int
impl SubAssign<u8> for Int
source§fn sub_assign(&mut self, other: u8)
fn sub_assign(&mut self, other: u8)
Performs the
-=
operation. Read moresource§impl SubAssign<usize> for Int
impl SubAssign<usize> for Int
source§fn sub_assign(&mut self, other: usize)
fn sub_assign(&mut self, other: usize)
Performs the
-=
operation. Read moresource§impl SubAssign for Int
impl SubAssign for Int
source§fn sub_assign(&mut self, other: Int)
fn sub_assign(&mut self, other: Int)
Performs the
-=
operation. Read moreimpl Eq for Int
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more