Struct candid::types::number::Int[][src]

pub struct Int(pub BigInt);

Implementations

impl Int[src]

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

impl Int[src]

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

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

Trait Implementations

impl Add<Int> for Int[src]

type Output = Int

The resulting type after applying the + operator.

impl Add<i128> for Int[src]

type Output = Int

The resulting type after applying the + operator.

impl Add<i16> for Int[src]

type Output = Int

The resulting type after applying the + operator.

impl Add<i32> for Int[src]

type Output = Int

The resulting type after applying the + operator.

impl Add<i64> for Int[src]

type Output = Int

The resulting type after applying the + operator.

impl Add<i8> for Int[src]

type Output = Int

The resulting type after applying the + operator.

impl Add<isize> for Int[src]

type Output = Int

The resulting type after applying the + operator.

impl Add<u128> for Int[src]

type Output = Int

The resulting type after applying the + operator.

impl Add<u16> for Int[src]

type Output = Int

The resulting type after applying the + operator.

impl Add<u32> for Int[src]

type Output = Int

The resulting type after applying the + operator.

impl Add<u64> for Int[src]

type Output = Int

The resulting type after applying the + operator.

impl Add<u8> for Int[src]

type Output = Int

The resulting type after applying the + operator.

impl Add<usize> for Int[src]

type Output = Int

The resulting type after applying the + operator.

impl AddAssign<Int> for Int[src]

impl AddAssign<i128> for Int[src]

impl AddAssign<i16> for Int[src]

impl AddAssign<i32> for Int[src]

impl AddAssign<i64> for Int[src]

impl AddAssign<i8> for Int[src]

impl AddAssign<isize> for Int[src]

impl AddAssign<u128> for Int[src]

impl AddAssign<u16> for Int[src]

impl AddAssign<u32> for Int[src]

impl AddAssign<u64> for Int[src]

impl AddAssign<u8> for Int[src]

impl AddAssign<usize> for Int[src]

impl CandidType for Int[src]

impl Clone for Int[src]

impl Debug for Int[src]

impl Default for Int[src]

impl<'de> Deserialize<'de> for Int[src]

impl Display for Int[src]

impl Div<Int> for Int[src]

type Output = Int

The resulting type after applying the / operator.

impl Div<i128> for Int[src]

type Output = Int

The resulting type after applying the / operator.

impl Div<i16> for Int[src]

type Output = Int

The resulting type after applying the / operator.

impl Div<i32> for Int[src]

type Output = Int

The resulting type after applying the / operator.

impl Div<i64> for Int[src]

type Output = Int

The resulting type after applying the / operator.

impl Div<i8> for Int[src]

type Output = Int

The resulting type after applying the / operator.

impl Div<isize> for Int[src]

type Output = Int

The resulting type after applying the / operator.

impl Div<u128> for Int[src]

type Output = Int

The resulting type after applying the / operator.

impl Div<u16> for Int[src]

type Output = Int

The resulting type after applying the / operator.

impl Div<u32> for Int[src]

type Output = Int

The resulting type after applying the / operator.

impl Div<u64> for Int[src]

type Output = Int

The resulting type after applying the / operator.

impl Div<u8> for Int[src]

type Output = Int

The resulting type after applying the / operator.

impl Div<usize> for Int[src]

type Output = Int

The resulting type after applying the / operator.

impl DivAssign<Int> for Int[src]

impl DivAssign<i128> for Int[src]

impl DivAssign<i16> for Int[src]

impl DivAssign<i32> for Int[src]

impl DivAssign<i64> for Int[src]

impl DivAssign<i8> for Int[src]

impl DivAssign<isize> for Int[src]

impl DivAssign<u128> for Int[src]

impl DivAssign<u16> for Int[src]

impl DivAssign<u32> for Int[src]

impl DivAssign<u64> for Int[src]

impl DivAssign<u8> for Int[src]

impl DivAssign<usize> for Int[src]

impl Eq for Int[src]

impl From<BigInt> for Int[src]

impl From<Nat> for Int[src]

impl From<i128> for Int[src]

impl From<i16> for Int[src]

impl From<i32> for Int[src]

impl From<i64> for Int[src]

impl From<i8> for Int[src]

impl From<isize> for Int[src]

impl From<u128> for Int[src]

impl From<u16> for Int[src]

impl From<u32> for Int[src]

impl From<u64> for Int[src]

impl From<u8> for Int[src]

impl From<usize> for Int[src]

impl FromStr for Int[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for Int[src]

impl Mul<Int> for Int[src]

type Output = Int

The resulting type after applying the * operator.

impl Mul<i128> for Int[src]

type Output = Int

The resulting type after applying the * operator.

impl Mul<i16> for Int[src]

type Output = Int

The resulting type after applying the * operator.

impl Mul<i32> for Int[src]

type Output = Int

The resulting type after applying the * operator.

impl Mul<i64> for Int[src]

type Output = Int

The resulting type after applying the * operator.

impl Mul<i8> for Int[src]

type Output = Int

The resulting type after applying the * operator.

impl Mul<isize> for Int[src]

type Output = Int

The resulting type after applying the * operator.

impl Mul<u128> for Int[src]

type Output = Int

The resulting type after applying the * operator.

impl Mul<u16> for Int[src]

type Output = Int

The resulting type after applying the * operator.

impl Mul<u32> for Int[src]

type Output = Int

The resulting type after applying the * operator.

impl Mul<u64> for Int[src]

type Output = Int

The resulting type after applying the * operator.

impl Mul<u8> for Int[src]

type Output = Int

The resulting type after applying the * operator.

impl Mul<usize> for Int[src]

type Output = Int

The resulting type after applying the * operator.

impl MulAssign<Int> for Int[src]

impl MulAssign<i128> for Int[src]

impl MulAssign<i16> for Int[src]

impl MulAssign<i32> for Int[src]

impl MulAssign<i64> for Int[src]

impl MulAssign<i8> for Int[src]

impl MulAssign<isize> for Int[src]

impl MulAssign<u128> for Int[src]

impl MulAssign<u16> for Int[src]

impl MulAssign<u32> for Int[src]

impl MulAssign<u64> for Int[src]

impl MulAssign<u8> for Int[src]

impl MulAssign<usize> for Int[src]

impl Ord for Int[src]

impl PartialEq<Int> for Int[src]

impl PartialEq<i128> for Int[src]

impl PartialEq<i16> for Int[src]

impl PartialEq<i32> for Int[src]

impl PartialEq<i64> for Int[src]

impl PartialEq<i8> for Int[src]

impl PartialEq<isize> for Int[src]

impl PartialEq<u128> for Int[src]

impl PartialEq<u16> for Int[src]

impl PartialEq<u32> for Int[src]

impl PartialEq<u64> for Int[src]

impl PartialEq<u8> for Int[src]

impl PartialEq<usize> for Int[src]

impl PartialOrd<Int> for Int[src]

impl PartialOrd<i128> for Int[src]

impl PartialOrd<i16> for Int[src]

impl PartialOrd<i32> for Int[src]

impl PartialOrd<i64> for Int[src]

impl PartialOrd<i8> for Int[src]

impl PartialOrd<isize> for Int[src]

impl PartialOrd<u128> for Int[src]

impl PartialOrd<u16> for Int[src]

impl PartialOrd<u32> for Int[src]

impl PartialOrd<u64> for Int[src]

impl PartialOrd<u8> for Int[src]

impl PartialOrd<usize> for Int[src]

impl Rem<Int> for Int[src]

type Output = Int

The resulting type after applying the % operator.

impl Rem<i128> for Int[src]

type Output = Int

The resulting type after applying the % operator.

impl Rem<i16> for Int[src]

type Output = Int

The resulting type after applying the % operator.

impl Rem<i32> for Int[src]

type Output = Int

The resulting type after applying the % operator.

impl Rem<i64> for Int[src]

type Output = Int

The resulting type after applying the % operator.

impl Rem<i8> for Int[src]

type Output = Int

The resulting type after applying the % operator.

impl Rem<isize> for Int[src]

type Output = Int

The resulting type after applying the % operator.

impl Rem<u128> for Int[src]

type Output = Int

The resulting type after applying the % operator.

impl Rem<u16> for Int[src]

type Output = Int

The resulting type after applying the % operator.

impl Rem<u32> for Int[src]

type Output = Int

The resulting type after applying the % operator.

impl Rem<u64> for Int[src]

type Output = Int

The resulting type after applying the % operator.

impl Rem<u8> for Int[src]

type Output = Int

The resulting type after applying the % operator.

impl Rem<usize> for Int[src]

type Output = Int

The resulting type after applying the % operator.

impl RemAssign<Int> for Int[src]

impl RemAssign<i128> for Int[src]

impl RemAssign<i16> for Int[src]

impl RemAssign<i32> for Int[src]

impl RemAssign<i64> for Int[src]

impl RemAssign<i8> for Int[src]

impl RemAssign<isize> for Int[src]

impl RemAssign<u128> for Int[src]

impl RemAssign<u16> for Int[src]

impl RemAssign<u32> for Int[src]

impl RemAssign<u64> for Int[src]

impl RemAssign<u8> for Int[src]

impl RemAssign<usize> for Int[src]

impl StructuralEq for Int[src]

impl StructuralPartialEq for Int[src]

impl Sub<Int> for Int[src]

type Output = Int

The resulting type after applying the - operator.

impl Sub<i128> for Int[src]

type Output = Int

The resulting type after applying the - operator.

impl Sub<i16> for Int[src]

type Output = Int

The resulting type after applying the - operator.

impl Sub<i32> for Int[src]

type Output = Int

The resulting type after applying the - operator.

impl Sub<i64> for Int[src]

type Output = Int

The resulting type after applying the - operator.

impl Sub<i8> for Int[src]

type Output = Int

The resulting type after applying the - operator.

impl Sub<isize> for Int[src]

type Output = Int

The resulting type after applying the - operator.

impl Sub<u128> for Int[src]

type Output = Int

The resulting type after applying the - operator.

impl Sub<u16> for Int[src]

type Output = Int

The resulting type after applying the - operator.

impl Sub<u32> for Int[src]

type Output = Int

The resulting type after applying the - operator.

impl Sub<u64> for Int[src]

type Output = Int

The resulting type after applying the - operator.

impl Sub<u8> for Int[src]

type Output = Int

The resulting type after applying the - operator.

impl Sub<usize> for Int[src]

type Output = Int

The resulting type after applying the - operator.

impl SubAssign<Int> for Int[src]

impl SubAssign<i128> for Int[src]

impl SubAssign<i16> for Int[src]

impl SubAssign<i32> for Int[src]

impl SubAssign<i64> for Int[src]

impl SubAssign<i8> for Int[src]

impl SubAssign<isize> for Int[src]

impl SubAssign<u128> for Int[src]

impl SubAssign<u16> for Int[src]

impl SubAssign<u32> for Int[src]

impl SubAssign<u64> for Int[src]

impl SubAssign<u8> for Int[src]

impl SubAssign<usize> for Int[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

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>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.