BigInt

Struct BigInt 

Source
pub struct BigInt(/* private fields */);

Implementations§

Source§

impl BigInt

Source

pub fn new(sign: Sign, digits: Vec<u32>) -> BigInt

Source

pub fn zero() -> BigInt

Source

pub fn one() -> BigInt

Source

pub fn from_unsigned_bytes_be(bytes: &[u8]) -> Self

Source

pub fn from_unsigned_bytes_le(bytes: &[u8]) -> Self

Source

pub fn from_signed_bytes_le(bytes: &[u8]) -> Self

Source

pub fn from_signed_bytes_be(bytes: &[u8]) -> Self

Source

pub fn from_bytes_le(sign: BigIntSign, bytes: &[u8]) -> Self

Source

pub fn to_bytes_le(&self) -> (BigIntSign, Vec<u8>)

Source

pub fn to_bytes_be(&self) -> (BigIntSign, Vec<u8>)

Source

pub fn to_signed_bytes_le(&self) -> Vec<u8>

Source

pub fn to_signed_bytes_be(&self) -> Vec<u8>

Source

pub fn to_u64(&self) -> u64

Source

pub fn to_i32(&self) -> i32

Source

pub fn pow(self, exponent: u32) -> Self

Source

pub fn bits(&self) -> usize

Source

pub fn is_zero(&self) -> bool

Source

pub fn is_one(&self) -> bool

Source

pub fn neg(&self) -> BigInt

Source

pub fn from_store_bytes(bytes: &[u8]) -> BigInt

Source

pub fn to_decimal(&self, decimals: u64) -> BigDecimal

Source

pub fn absolute(&self) -> BigInt

Source

pub fn div_rem(&self, other: &BigInt) -> (BigInt, BigInt)

Trait Implementations§

Source§

impl Add<&BigInt> for &BigInt

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &BigInt) -> BigInt

Performs the + operation. Read more
Source§

impl Add<&BigInt> for BigInt

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &BigInt) -> BigInt

Performs the + operation. Read more
Source§

impl Add<BigDecimal> for BigInt

Source§

type Output = BigDecimal

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<BigInt> for &BigInt

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: BigInt) -> BigInt

Performs the + operation. Read more
Source§

impl Add<BigInt> for f32

Source§

type Output = BigDecimal

The resulting type after applying the + operator.
Source§

fn add(self, other: BigInt) -> BigDecimal

Performs the + operation. Read more
Source§

impl Add<BigInt> for f64

Source§

type Output = BigDecimal

The resulting type after applying the + operator.
Source§

fn add(self, other: BigInt) -> BigDecimal

Performs the + operation. Read more
Source§

impl Add<BigInt> for i16

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: BigInt) -> BigInt

Performs the + operation. Read more
Source§

impl Add<BigInt> for i32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: BigInt) -> BigInt

Performs the + operation. Read more
Source§

impl Add<BigInt> for i64

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: BigInt) -> BigInt

Performs the + operation. Read more
Source§

impl Add<BigInt> for i8

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: BigInt) -> BigInt

Performs the + operation. Read more
Source§

impl Add<BigInt> for isize

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: BigInt) -> BigInt

Performs the + operation. Read more
Source§

impl Add<BigInt> for u16

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: BigInt) -> BigInt

Performs the + operation. Read more
Source§

impl Add<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: BigInt) -> BigInt

Performs the + operation. Read more
Source§

impl Add<BigInt> for u64

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: BigInt) -> BigInt

Performs the + operation. Read more
Source§

impl Add<BigInt> for u8

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: BigInt) -> BigInt

Performs the + operation. Read more
Source§

impl Add<BigInt> for usize

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: BigInt) -> BigInt

Performs the + operation. Read more
Source§

impl Add<f32> for BigInt

Source§

type Output = BigDecimal

The resulting type after applying the + operator.
Source§

fn add(self, other: f32) -> BigDecimal

Performs the + operation. Read more
Source§

impl Add<f64> for BigInt

Source§

type Output = BigDecimal

The resulting type after applying the + operator.
Source§

fn add(self, other: f64) -> BigDecimal

Performs the + operation. Read more
Source§

impl Add<i16> for BigInt

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i16) -> BigInt

Performs the + operation. Read more
Source§

impl Add<i32> for BigInt

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i32) -> BigInt

Performs the + operation. Read more
Source§

impl Add<i64> for BigInt

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i64) -> BigInt

Performs the + operation. Read more
Source§

impl Add<i8> for BigInt

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i8) -> BigInt

Performs the + operation. Read more
Source§

impl Add<isize> for BigInt

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: isize) -> BigInt

Performs the + operation. Read more
Source§

impl Add<u16> for BigInt

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u16) -> BigInt

Performs the + operation. Read more
Source§

impl Add<u32> for BigInt

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u32) -> BigInt

Performs the + operation. Read more
Source§

impl Add<u64> for BigInt

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u64) -> BigInt

Performs the + operation. Read more
Source§

impl Add<u8> for BigInt

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u8) -> BigInt

Performs the + operation. Read more
Source§

impl Add<usize> for BigInt

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: usize) -> BigInt

Performs the + operation. Read more
Source§

impl Add for BigInt

Source§

type Output = BigInt

The resulting type after applying the + operator.
Source§

fn add(self, rhs: BigInt) -> BigInt

Performs the + operation. Read more
Source§

impl AsRef<BigInt> for BigInt

Source§

fn as_ref(&self) -> &BigInt

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl BitAnd<&BigInt> for &BigInt

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &BigInt) -> BigInt

Performs the & operation. Read more
Source§

impl BitAnd<&BigInt> for BigInt

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &BigInt) -> BigInt

Performs the & operation. Read more
Source§

impl BitAnd<BigInt> for &BigInt

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<BigInt> for i16

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<BigInt> for i32

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<BigInt> for i64

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<BigInt> for i8

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<BigInt> for isize

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<BigInt> for u16

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<BigInt> for u64

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<BigInt> for u8

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<BigInt> for usize

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<i128> for BigInt

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: i128) -> BigInt

Performs the & operation. Read more
Source§

impl BitAnd<i16> for BigInt

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: i16) -> BigInt

Performs the & operation. Read more
Source§

impl BitAnd<i32> for BigInt

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<i64> for BigInt

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: i64) -> BigInt

Performs the & operation. Read more
Source§

impl BitAnd<i8> for BigInt

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: i8) -> BigInt

Performs the & operation. Read more
Source§

impl BitAnd<isize> for BigInt

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: isize) -> BigInt

Performs the & operation. Read more
Source§

impl BitAnd<u128> for BigInt

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: u128) -> BigInt

Performs the & operation. Read more
Source§

impl BitAnd<u16> for BigInt

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: u16) -> BigInt

Performs the & operation. Read more
Source§

impl BitAnd<u32> for BigInt

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: u32) -> BigInt

Performs the & operation. Read more
Source§

impl BitAnd<u64> for BigInt

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: u64) -> BigInt

Performs the & operation. Read more
Source§

impl BitAnd<u8> for BigInt

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: u8) -> BigInt

Performs the & operation. Read more
Source§

impl BitAnd<usize> for BigInt

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: usize) -> BigInt

Performs the & operation. Read more
Source§

impl BitAnd for BigInt

Source§

type Output = BigInt

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAndAssign<&BigInt> for BigInt

Source§

fn bitand_assign(&mut self, rhs: &BigInt)

Performs the &= operation. Read more
Source§

impl BitAndAssign<i128> for BigInt

Source§

fn bitand_assign(&mut self, rhs: i128)

Performs the &= operation. Read more
Source§

impl BitAndAssign<i16> for BigInt

Source§

fn bitand_assign(&mut self, rhs: i16)

Performs the &= operation. Read more
Source§

impl BitAndAssign<i32> for BigInt

Source§

fn bitand_assign(&mut self, rhs: i32)

Performs the &= operation. Read more
Source§

impl BitAndAssign<i64> for BigInt

Source§

fn bitand_assign(&mut self, rhs: i64)

Performs the &= operation. Read more
Source§

impl BitAndAssign<i8> for BigInt

Source§

fn bitand_assign(&mut self, rhs: i8)

Performs the &= operation. Read more
Source§

impl BitAndAssign<isize> for BigInt

Source§

fn bitand_assign(&mut self, rhs: isize)

Performs the &= operation. Read more
Source§

impl BitAndAssign<u128> for BigInt

Source§

fn bitand_assign(&mut self, rhs: u128)

Performs the &= operation. Read more
Source§

impl BitAndAssign<u16> for BigInt

Source§

fn bitand_assign(&mut self, rhs: u16)

Performs the &= operation. Read more
Source§

impl BitAndAssign<u32> for BigInt

Source§

fn bitand_assign(&mut self, rhs: u32)

Performs the &= operation. Read more
Source§

impl BitAndAssign<u64> for BigInt

Source§

fn bitand_assign(&mut self, rhs: u64)

Performs the &= operation. Read more
Source§

impl BitAndAssign<u8> for BigInt

Source§

fn bitand_assign(&mut self, rhs: u8)

Performs the &= operation. Read more
Source§

impl BitAndAssign<usize> for BigInt

Source§

fn bitand_assign(&mut self, rhs: usize)

Performs the &= operation. Read more
Source§

impl BitAndAssign for BigInt

Source§

fn bitand_assign(&mut self, rhs: BigInt)

Performs the &= operation. Read more
Source§

impl BitOr<&BigInt> for &BigInt

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &BigInt) -> BigInt

Performs the | operation. Read more
Source§

impl BitOr<&BigInt> for BigInt

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &BigInt) -> BigInt

Performs the | operation. Read more
Source§

impl BitOr<BigInt> for &BigInt

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<BigInt> for i16

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<BigInt> for i32

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<BigInt> for i64

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<BigInt> for i8

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<BigInt> for isize

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<BigInt> for u16

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<BigInt> for u64

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<BigInt> for u8

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<BigInt> for usize

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<i128> for BigInt

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: i128) -> BigInt

Performs the | operation. Read more
Source§

impl BitOr<i16> for BigInt

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: i16) -> BigInt

Performs the | operation. Read more
Source§

impl BitOr<i32> for BigInt

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<i64> for BigInt

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: i64) -> BigInt

Performs the | operation. Read more
Source§

impl BitOr<i8> for BigInt

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: i8) -> BigInt

Performs the | operation. Read more
Source§

impl BitOr<isize> for BigInt

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: isize) -> BigInt

Performs the | operation. Read more
Source§

impl BitOr<u128> for BigInt

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: u128) -> BigInt

Performs the | operation. Read more
Source§

impl BitOr<u16> for BigInt

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: u16) -> BigInt

Performs the | operation. Read more
Source§

impl BitOr<u32> for BigInt

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: u32) -> BigInt

Performs the | operation. Read more
Source§

impl BitOr<u64> for BigInt

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: u64) -> BigInt

Performs the | operation. Read more
Source§

impl BitOr<u8> for BigInt

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: u8) -> BigInt

Performs the | operation. Read more
Source§

impl BitOr<usize> for BigInt

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: usize) -> BigInt

Performs the | operation. Read more
Source§

impl BitOr for BigInt

Source§

type Output = BigInt

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOrAssign<&BigInt> for BigInt

Source§

fn bitor_assign(&mut self, rhs: &BigInt)

Performs the |= operation. Read more
Source§

impl BitOrAssign<i128> for BigInt

Source§

fn bitor_assign(&mut self, rhs: i128)

Performs the |= operation. Read more
Source§

impl BitOrAssign<i16> for BigInt

Source§

fn bitor_assign(&mut self, rhs: i16)

Performs the |= operation. Read more
Source§

impl BitOrAssign<i32> for BigInt

Source§

fn bitor_assign(&mut self, rhs: i32)

Performs the |= operation. Read more
Source§

impl BitOrAssign<i64> for BigInt

Source§

fn bitor_assign(&mut self, rhs: i64)

Performs the |= operation. Read more
Source§

impl BitOrAssign<i8> for BigInt

Source§

fn bitor_assign(&mut self, rhs: i8)

Performs the |= operation. Read more
Source§

impl BitOrAssign<isize> for BigInt

Source§

fn bitor_assign(&mut self, rhs: isize)

Performs the |= operation. Read more
Source§

impl BitOrAssign<u128> for BigInt

Source§

fn bitor_assign(&mut self, rhs: u128)

Performs the |= operation. Read more
Source§

impl BitOrAssign<u16> for BigInt

Source§

fn bitor_assign(&mut self, rhs: u16)

Performs the |= operation. Read more
Source§

impl BitOrAssign<u32> for BigInt

Source§

fn bitor_assign(&mut self, rhs: u32)

Performs the |= operation. Read more
Source§

impl BitOrAssign<u64> for BigInt

Source§

fn bitor_assign(&mut self, rhs: u64)

Performs the |= operation. Read more
Source§

impl BitOrAssign<u8> for BigInt

Source§

fn bitor_assign(&mut self, rhs: u8)

Performs the |= operation. Read more
Source§

impl BitOrAssign<usize> for BigInt

Source§

fn bitor_assign(&mut self, rhs: usize)

Performs the |= operation. Read more
Source§

impl BitOrAssign for BigInt

Source§

fn bitor_assign(&mut self, rhs: BigInt)

Performs the |= operation. Read more
Source§

impl BitXor<&BigInt> for &BigInt

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &BigInt) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<&BigInt> for BigInt

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &BigInt) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<BigInt> for &BigInt

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: BigInt) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<BigInt> for i16

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: BigInt) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<BigInt> for i32

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: BigInt) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<BigInt> for i64

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: BigInt) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<BigInt> for i8

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: BigInt) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<BigInt> for isize

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: BigInt) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<BigInt> for u16

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: BigInt) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: BigInt) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<BigInt> for u64

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: BigInt) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<BigInt> for u8

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: BigInt) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<BigInt> for usize

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: BigInt) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<i128> for BigInt

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: i128) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<i16> for BigInt

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: i16) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<i32> for BigInt

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: i32) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<i64> for BigInt

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: i64) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<i8> for BigInt

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: i8) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<isize> for BigInt

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: isize) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<u128> for BigInt

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: u128) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<u16> for BigInt

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: u16) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<u32> for BigInt

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: u32) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<u64> for BigInt

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: u64) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<u8> for BigInt

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: u8) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor<usize> for BigInt

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: usize) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXor for BigInt

Source§

type Output = BigInt

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: BigInt) -> BigInt

Performs the ^ operation. Read more
Source§

impl BitXorAssign<&BigInt> for BigInt

Source§

fn bitxor_assign(&mut self, rhs: &BigInt)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<i128> for BigInt

Source§

fn bitxor_assign(&mut self, rhs: i128)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<i16> for BigInt

Source§

fn bitxor_assign(&mut self, rhs: i16)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<i32> for BigInt

Source§

fn bitxor_assign(&mut self, rhs: i32)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<i64> for BigInt

Source§

fn bitxor_assign(&mut self, rhs: i64)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<i8> for BigInt

Source§

fn bitxor_assign(&mut self, rhs: i8)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<isize> for BigInt

Source§

fn bitxor_assign(&mut self, rhs: isize)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<u128> for BigInt

Source§

fn bitxor_assign(&mut self, rhs: u128)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<u16> for BigInt

Source§

fn bitxor_assign(&mut self, rhs: u16)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<u32> for BigInt

Source§

fn bitxor_assign(&mut self, rhs: u32)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<u64> for BigInt

Source§

fn bitxor_assign(&mut self, rhs: u64)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<u8> for BigInt

Source§

fn bitxor_assign(&mut self, rhs: u8)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<usize> for BigInt

Source§

fn bitxor_assign(&mut self, rhs: usize)

Performs the ^= operation. Read more
Source§

impl BitXorAssign for BigInt

Source§

fn bitxor_assign(&mut self, rhs: BigInt)

Performs the ^= operation. Read more
Source§

impl Clone for BigInt

Source§

fn clone(&self) -> BigInt

Returns a duplicate 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 BigInt

Source§

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

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

impl Default for BigInt

Source§

fn default() -> Self

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

impl Display for BigInt

Source§

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

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

impl Div<&BigInt> for &BigInt

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &BigInt) -> BigInt

Performs the / operation. Read more
Source§

impl Div<&BigInt> for BigInt

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &BigInt) -> BigInt

Performs the / operation. Read more
Source§

impl Div<BigDecimal> for BigInt

Source§

type Output = BigDecimal

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div<BigInt> for &BigInt

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: BigInt) -> BigInt

Performs the / operation. Read more
Source§

impl Div<BigInt> for f32

Source§

type Output = BigDecimal

The resulting type after applying the / operator.
Source§

fn div(self, other: BigInt) -> BigDecimal

Performs the / operation. Read more
Source§

impl Div<BigInt> for f64

Source§

type Output = BigDecimal

The resulting type after applying the / operator.
Source§

fn div(self, other: BigInt) -> BigDecimal

Performs the / operation. Read more
Source§

impl Div<BigInt> for i16

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: BigInt) -> BigInt

Performs the / operation. Read more
Source§

impl Div<BigInt> for i32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: BigInt) -> BigInt

Performs the / operation. Read more
Source§

impl Div<BigInt> for i64

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: BigInt) -> BigInt

Performs the / operation. Read more
Source§

impl Div<BigInt> for i8

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: BigInt) -> BigInt

Performs the / operation. Read more
Source§

impl Div<BigInt> for isize

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: BigInt) -> BigInt

Performs the / operation. Read more
Source§

impl Div<BigInt> for u16

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: BigInt) -> BigInt

Performs the / operation. Read more
Source§

impl Div<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: BigInt) -> BigInt

Performs the / operation. Read more
Source§

impl Div<BigInt> for u64

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: BigInt) -> BigInt

Performs the / operation. Read more
Source§

impl Div<BigInt> for u8

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: BigInt) -> BigInt

Performs the / operation. Read more
Source§

impl Div<BigInt> for usize

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: BigInt) -> BigInt

Performs the / operation. Read more
Source§

impl Div<f32> for BigInt

Source§

type Output = BigDecimal

The resulting type after applying the / operator.
Source§

fn div(self, other: f32) -> BigDecimal

Performs the / operation. Read more
Source§

impl Div<f64> for BigInt

Source§

type Output = BigDecimal

The resulting type after applying the / operator.
Source§

fn div(self, other: f64) -> BigDecimal

Performs the / operation. Read more
Source§

impl Div<i16> for BigInt

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i16) -> BigInt

Performs the / operation. Read more
Source§

impl Div<i32> for BigInt

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i32) -> BigInt

Performs the / operation. Read more
Source§

impl Div<i64> for BigInt

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i64) -> BigInt

Performs the / operation. Read more
Source§

impl Div<i8> for BigInt

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i8) -> BigInt

Performs the / operation. Read more
Source§

impl Div<isize> for BigInt

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: isize) -> BigInt

Performs the / operation. Read more
Source§

impl Div<u16> for BigInt

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u16) -> BigInt

Performs the / operation. Read more
Source§

impl Div<u32> for BigInt

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u32) -> BigInt

Performs the / operation. Read more
Source§

impl Div<u64> for BigInt

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u64) -> BigInt

Performs the / operation. Read more
Source§

impl Div<u8> for BigInt

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u8) -> BigInt

Performs the / operation. Read more
Source§

impl Div<usize> for BigInt

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: usize) -> BigInt

Performs the / operation. Read more
Source§

impl Div for BigInt

Source§

type Output = BigInt

The resulting type after applying the / operator.
Source§

fn div(self, rhs: BigInt) -> BigInt

Performs the / operation. Read more
Source§

impl From<BigInt> for BigDecimal

Source§

fn from(n: BigInt) -> Self

Converts to this type from the input type.
Source§

impl From<BigInt> for BigInt

Source§

fn from(big_int: BigInt) -> BigInt

Converts to this type from the input type.
Source§

impl From<i32> for BigInt

Source§

fn from(i: i32) -> BigInt

Converts to this type from the input type.
Source§

impl From<i64> for BigInt

Source§

fn from(i: i64) -> BigInt

Converts to this type from the input type.
Source§

impl From<isize> for BigInt

Source§

fn from(i: isize) -> BigInt

Converts to this type from the input type.
Source§

impl From<u32> for BigInt

Source§

fn from(i: u32) -> BigInt

Converts to this type from the input type.
Source§

impl From<u64> for BigInt

Source§

fn from(i: u64) -> BigInt

Converts to this type from the input type.
Source§

impl From<usize> for BigInt

Source§

fn from(i: usize) -> BigInt

Converts to this type from the input type.
Source§

impl FromStr for BigInt

Source§

type Err = <BigInt as FromStr>::Err

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

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

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

impl Into<BigDecimal> for &BigInt

Source§

fn into(self) -> BigDecimal

Converts this type into the (usually inferred) input type.
Source§

impl Into<BigInt> for BigInt

Source§

fn into(self) -> BigInt

Converts this type into the (usually inferred) input type.
Source§

impl Into<String> for &BigInt

Source§

fn into(self) -> String

Converts this type into the (usually inferred) input type.
Source§

impl Into<String> for BigInt

Source§

fn into(self) -> String

Converts this type into the (usually inferred) input type.
Source§

impl Into<i32> for BigInt

Source§

fn into(self) -> i32

Converts this type into the (usually inferred) input type.
Source§

impl Into<u32> for BigInt

Source§

fn into(self) -> u32

Converts this type into the (usually inferred) input type.
Source§

impl Mul<&BigInt> for &BigInt

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &BigInt) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<&BigInt> for BigInt

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &BigInt) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<BigDecimal> for BigInt

Source§

type Output = BigDecimal

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<BigInt> for &BigInt

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: BigInt) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<BigInt> for f32

Source§

type Output = BigDecimal

The resulting type after applying the * operator.
Source§

fn mul(self, other: BigInt) -> BigDecimal

Performs the * operation. Read more
Source§

impl Mul<BigInt> for f64

Source§

type Output = BigDecimal

The resulting type after applying the * operator.
Source§

fn mul(self, other: BigInt) -> BigDecimal

Performs the * operation. Read more
Source§

impl Mul<BigInt> for i16

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: BigInt) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<BigInt> for i32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: BigInt) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<BigInt> for i64

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: BigInt) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<BigInt> for i8

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: BigInt) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<BigInt> for isize

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: BigInt) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<BigInt> for u16

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: BigInt) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: BigInt) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<BigInt> for u64

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: BigInt) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<BigInt> for u8

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: BigInt) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<BigInt> for usize

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: BigInt) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<f32> for BigInt

Source§

type Output = BigDecimal

The resulting type after applying the * operator.
Source§

fn mul(self, other: f32) -> BigDecimal

Performs the * operation. Read more
Source§

impl Mul<f64> for BigInt

Source§

type Output = BigDecimal

The resulting type after applying the * operator.
Source§

fn mul(self, other: f64) -> BigDecimal

Performs the * operation. Read more
Source§

impl Mul<i16> for BigInt

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i16) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<i32> for BigInt

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i32) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<i64> for BigInt

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i64) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<i8> for BigInt

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i8) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<isize> for BigInt

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: isize) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<u16> for BigInt

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u16) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<u32> for BigInt

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u32) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<u64> for BigInt

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u64) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<u8> for BigInt

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u8) -> BigInt

Performs the * operation. Read more
Source§

impl Mul<usize> for BigInt

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: usize) -> BigInt

Performs the * operation. Read more
Source§

impl Mul for BigInt

Source§

type Output = BigInt

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: BigInt) -> BigInt

Performs the * operation. Read more
Source§

impl Ord for BigInt

Source§

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

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

impl PartialEq for BigInt

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for BigInt

Source§

fn partial_cmp(&self, other: &BigInt) -> 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

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

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

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Pow<u128> for BigInt

Source§

type Output = BigInt

The result after applying the operator.
Source§

fn pow(self, rhs: u128) -> BigInt

Returns self to the power rhs. Read more
Source§

impl Pow<u16> for BigInt

Source§

type Output = BigInt

The result after applying the operator.
Source§

fn pow(self, rhs: u16) -> BigInt

Returns self to the power rhs. Read more
Source§

impl Pow<u32> for BigInt

Source§

type Output = BigInt

The result after applying the operator.
Source§

fn pow(self, rhs: u32) -> BigInt

Returns self to the power rhs. Read more
Source§

impl Pow<u64> for BigInt

Source§

type Output = BigInt

The result after applying the operator.
Source§

fn pow(self, rhs: u64) -> BigInt

Returns self to the power rhs. Read more
Source§

impl Pow<u8> for BigInt

Source§

type Output = BigInt

The result after applying the operator.
Source§

fn pow(self, rhs: u8) -> BigInt

Returns self to the power rhs. Read more
Source§

impl Pow<usize> for BigInt

Source§

type Output = BigInt

The result after applying the operator.
Source§

fn pow(self, rhs: usize) -> BigInt

Returns self to the power rhs. Read more
Source§

impl Rem<&BigInt> for &BigInt

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &BigInt) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<&BigInt> for BigInt

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &BigInt) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<BigInt> for &BigInt

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: BigInt) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<BigInt> for i16

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: BigInt) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<BigInt> for i32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: BigInt) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<BigInt> for i64

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: BigInt) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<BigInt> for i8

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: BigInt) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<BigInt> for isize

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: BigInt) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<BigInt> for u16

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: BigInt) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: BigInt) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<BigInt> for u64

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: BigInt) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<BigInt> for u8

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: BigInt) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<BigInt> for usize

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: BigInt) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<i16> for BigInt

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i16) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<i32> for BigInt

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i32) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<i64> for BigInt

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i64) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<i8> for BigInt

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i8) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<isize> for BigInt

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: isize) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<u16> for BigInt

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u16) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<u32> for BigInt

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u32) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<u64> for BigInt

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u64) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<u8> for BigInt

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u8) -> BigInt

Performs the % operation. Read more
Source§

impl Rem<usize> for BigInt

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: usize) -> BigInt

Performs the % operation. Read more
Source§

impl Rem for BigInt

Source§

type Output = BigInt

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: BigInt) -> BigInt

Performs the % operation. Read more
Source§

impl Shl<i128> for BigInt

Source§

type Output = BigInt

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

fn shl(self, rhs: i128) -> BigInt

Performs the << operation. Read more
Source§

impl Shl<i16> for BigInt

Source§

type Output = BigInt

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

fn shl(self, rhs: i16) -> BigInt

Performs the << operation. Read more
Source§

impl Shl<i32> for BigInt

Source§

type Output = BigInt

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

fn shl(self, rhs: i32) -> BigInt

Performs the << operation. Read more
Source§

impl Shl<i64> for BigInt

Source§

type Output = BigInt

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

fn shl(self, rhs: i64) -> BigInt

Performs the << operation. Read more
Source§

impl Shl<i8> for BigInt

Source§

type Output = BigInt

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

fn shl(self, rhs: i8) -> BigInt

Performs the << operation. Read more
Source§

impl Shl<isize> for BigInt

Source§

type Output = BigInt

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

fn shl(self, rhs: isize) -> BigInt

Performs the << operation. Read more
Source§

impl Shl<u128> for BigInt

Source§

type Output = BigInt

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

fn shl(self, rhs: u128) -> BigInt

Performs the << operation. Read more
Source§

impl Shl<u16> for BigInt

Source§

type Output = BigInt

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

fn shl(self, rhs: u16) -> BigInt

Performs the << operation. Read more
Source§

impl Shl<u32> for BigInt

Source§

type Output = BigInt

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

fn shl(self, rhs: u32) -> BigInt

Performs the << operation. Read more
Source§

impl Shl<u64> for BigInt

Source§

type Output = BigInt

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

fn shl(self, rhs: u64) -> BigInt

Performs the << operation. Read more
Source§

impl Shl<u8> for BigInt

Source§

type Output = BigInt

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

fn shl(self, rhs: u8) -> BigInt

Performs the << operation. Read more
Source§

impl Shl<usize> for BigInt

Source§

type Output = BigInt

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

fn shl(self, rhs: usize) -> BigInt

Performs the << operation. Read more
Source§

impl ShlAssign<i128> for BigInt

Source§

fn shl_assign(&mut self, rhs: i128)

Performs the <<= operation. Read more
Source§

impl ShlAssign<i16> for BigInt

Source§

fn shl_assign(&mut self, rhs: i16)

Performs the <<= operation. Read more
Source§

impl ShlAssign<i32> for BigInt

Source§

fn shl_assign(&mut self, rhs: i32)

Performs the <<= operation. Read more
Source§

impl ShlAssign<i64> for BigInt

Source§

fn shl_assign(&mut self, rhs: i64)

Performs the <<= operation. Read more
Source§

impl ShlAssign<i8> for BigInt

Source§

fn shl_assign(&mut self, rhs: i8)

Performs the <<= operation. Read more
Source§

impl ShlAssign<isize> for BigInt

Source§

fn shl_assign(&mut self, rhs: isize)

Performs the <<= operation. Read more
Source§

impl ShlAssign<u128> for BigInt

Source§

fn shl_assign(&mut self, rhs: u128)

Performs the <<= operation. Read more
Source§

impl ShlAssign<u16> for BigInt

Source§

fn shl_assign(&mut self, rhs: u16)

Performs the <<= operation. Read more
Source§

impl ShlAssign<u32> for BigInt

Source§

fn shl_assign(&mut self, rhs: u32)

Performs the <<= operation. Read more
Source§

impl ShlAssign<u64> for BigInt

Source§

fn shl_assign(&mut self, rhs: u64)

Performs the <<= operation. Read more
Source§

impl ShlAssign<u8> for BigInt

Source§

fn shl_assign(&mut self, rhs: u8)

Performs the <<= operation. Read more
Source§

impl ShlAssign<usize> for BigInt

Source§

fn shl_assign(&mut self, rhs: usize)

Performs the <<= operation. Read more
Source§

impl Shr<i128> for BigInt

Source§

type Output = BigInt

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

fn shr(self, rhs: i128) -> BigInt

Performs the >> operation. Read more
Source§

impl Shr<i16> for BigInt

Source§

type Output = BigInt

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

fn shr(self, rhs: i16) -> BigInt

Performs the >> operation. Read more
Source§

impl Shr<i32> for BigInt

Source§

type Output = BigInt

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

fn shr(self, rhs: i32) -> BigInt

Performs the >> operation. Read more
Source§

impl Shr<i64> for BigInt

Source§

type Output = BigInt

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

fn shr(self, rhs: i64) -> BigInt

Performs the >> operation. Read more
Source§

impl Shr<i8> for BigInt

Source§

type Output = BigInt

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

fn shr(self, rhs: i8) -> BigInt

Performs the >> operation. Read more
Source§

impl Shr<isize> for BigInt

Source§

type Output = BigInt

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

fn shr(self, rhs: isize) -> BigInt

Performs the >> operation. Read more
Source§

impl Shr<u128> for BigInt

Source§

type Output = BigInt

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

fn shr(self, rhs: u128) -> BigInt

Performs the >> operation. Read more
Source§

impl Shr<u16> for BigInt

Source§

type Output = BigInt

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

fn shr(self, rhs: u16) -> BigInt

Performs the >> operation. Read more
Source§

impl Shr<u32> for BigInt

Source§

type Output = BigInt

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

fn shr(self, rhs: u32) -> BigInt

Performs the >> operation. Read more
Source§

impl Shr<u64> for BigInt

Source§

type Output = BigInt

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

fn shr(self, rhs: u64) -> BigInt

Performs the >> operation. Read more
Source§

impl Shr<u8> for BigInt

Source§

type Output = BigInt

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

fn shr(self, rhs: u8) -> BigInt

Performs the >> operation. Read more
Source§

impl Shr<usize> for BigInt

Source§

type Output = BigInt

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

fn shr(self, rhs: usize) -> BigInt

Performs the >> operation. Read more
Source§

impl ShrAssign<i128> for BigInt

Source§

fn shr_assign(&mut self, rhs: i128)

Performs the >>= operation. Read more
Source§

impl ShrAssign<i16> for BigInt

Source§

fn shr_assign(&mut self, rhs: i16)

Performs the >>= operation. Read more
Source§

impl ShrAssign<i32> for BigInt

Source§

fn shr_assign(&mut self, rhs: i32)

Performs the >>= operation. Read more
Source§

impl ShrAssign<i64> for BigInt

Source§

fn shr_assign(&mut self, rhs: i64)

Performs the >>= operation. Read more
Source§

impl ShrAssign<i8> for BigInt

Source§

fn shr_assign(&mut self, rhs: i8)

Performs the >>= operation. Read more
Source§

impl ShrAssign<isize> for BigInt

Source§

fn shr_assign(&mut self, rhs: isize)

Performs the >>= operation. Read more
Source§

impl ShrAssign<u128> for BigInt

Source§

fn shr_assign(&mut self, rhs: u128)

Performs the >>= operation. Read more
Source§

impl ShrAssign<u16> for BigInt

Source§

fn shr_assign(&mut self, rhs: u16)

Performs the >>= operation. Read more
Source§

impl ShrAssign<u32> for BigInt

Source§

fn shr_assign(&mut self, rhs: u32)

Performs the >>= operation. Read more
Source§

impl ShrAssign<u64> for BigInt

Source§

fn shr_assign(&mut self, rhs: u64)

Performs the >>= operation. Read more
Source§

impl ShrAssign<u8> for BigInt

Source§

fn shr_assign(&mut self, rhs: u8)

Performs the >>= operation. Read more
Source§

impl ShrAssign<usize> for BigInt

Source§

fn shr_assign(&mut self, rhs: usize)

Performs the >>= operation. Read more
Source§

impl StoreGet<BigInt> for StoreGetBigInt

Source§

fn new(idx: u32) -> Self

Source§

fn get_at<K: AsRef<str>>(&self, ord: u64, key: K) -> Option<BigInt>

Source§

fn get_last<K: AsRef<str>>(&self, key: K) -> Option<BigInt>

Source§

fn get_first<K: AsRef<str>>(&self, key: K) -> Option<BigInt>

Source§

fn has_at<K: AsRef<str>>(&self, ord: u64, key: K) -> bool

Source§

fn has_last<K: AsRef<str>>(&self, key: K) -> bool

Source§

fn has_first<K: AsRef<str>>(&self, key: K) -> bool

Source§

impl StoreSet<BigInt> for StoreSetBigInt

Source§

fn set<K: AsRef<str>>(&self, ord: u64, key: K, value: &BigInt)

Set a given key to a given value, if the key existed before, it will be replaced.
Source§

fn set_many<K: AsRef<str>>(&self, ord: u64, keys: &Vec<K>, value: &BigInt)

Set many keys to a given values, if the key existed before, it will be replaced.
Source§

impl StoreSetIfNotExists<BigInt> for StoreSetIfNotExistsBigInt

Source§

fn set_if_not_exists<K: AsRef<str>>(&self, ord: u64, key: K, value: &BigInt)

Set a given key to a given value, if the key existed before, it will be ignored and not set.
Source§

fn set_if_not_exists_many<K: AsRef<str>>( &self, ord: u64, keys: &Vec<K>, value: &BigInt, )

Set given keys to given values, if the key existed before, it will be ignored and not set.
Source§

impl StoreSetSum<BigInt> for StoreSetSumBigInt

Source§

fn new() -> Self

Source§

fn set<K: AsRef<str>>(&self, ord: u64, key: K, value: BigInt)

Source§

fn sum<K: AsRef<str>>(&self, ord: u64, key: K, value: BigInt)

Source§

impl Sub<&BigInt> for &BigInt

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &BigInt) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<&BigInt> for BigInt

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &BigInt) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<BigDecimal> for BigInt

Source§

type Output = BigDecimal

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<BigInt> for &BigInt

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: BigInt) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<BigInt> for f32

Source§

type Output = BigDecimal

The resulting type after applying the - operator.
Source§

fn sub(self, other: BigInt) -> BigDecimal

Performs the - operation. Read more
Source§

impl Sub<BigInt> for f64

Source§

type Output = BigDecimal

The resulting type after applying the - operator.
Source§

fn sub(self, other: BigInt) -> BigDecimal

Performs the - operation. Read more
Source§

impl Sub<BigInt> for i16

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: BigInt) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<BigInt> for i32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: BigInt) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<BigInt> for i64

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: BigInt) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<BigInt> for i8

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: BigInt) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<BigInt> for isize

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: BigInt) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<BigInt> for u16

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: BigInt) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<BigInt> for u32

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: BigInt) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<BigInt> for u64

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: BigInt) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<BigInt> for u8

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: BigInt) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<BigInt> for usize

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: BigInt) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<f32> for BigInt

Source§

type Output = BigDecimal

The resulting type after applying the - operator.
Source§

fn sub(self, other: f32) -> BigDecimal

Performs the - operation. Read more
Source§

impl Sub<f64> for BigInt

Source§

type Output = BigDecimal

The resulting type after applying the - operator.
Source§

fn sub(self, other: f64) -> BigDecimal

Performs the - operation. Read more
Source§

impl Sub<i16> for BigInt

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i16) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<i32> for BigInt

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i32) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<i64> for BigInt

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i64) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<i8> for BigInt

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i8) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<isize> for BigInt

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: isize) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<u16> for BigInt

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u16) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<u32> for BigInt

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u32) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<u64> for BigInt

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u64) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<u8> for BigInt

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u8) -> BigInt

Performs the - operation. Read more
Source§

impl Sub<usize> for BigInt

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: usize) -> BigInt

Performs the - operation. Read more
Source§

impl Sub for BigInt

Source§

type Output = BigInt

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: BigInt) -> BigInt

Performs the - operation. Read more
Source§

impl<'a> TryFrom<&'a BigInt> for u64

Source§

type Error = BigIntOutOfRangeError

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

fn try_from(value: &'a BigInt) -> Result<u64, BigIntOutOfRangeError>

Performs the conversion.
Source§

impl TryFrom<&String> for BigInt

Source§

type Error = ParseBigIntError

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

fn try_from(value: &String) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<BigInt> for u64

Source§

type Error = BigIntOutOfRangeError

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

fn try_from(value: BigInt) -> Result<u64, BigIntOutOfRangeError>

Performs the conversion.
Source§

impl TryFrom<String> for BigInt

Source§

type Error = ParseBigIntError

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

fn try_from(value: String) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Eq for BigInt

Source§

impl StructuralPartialEq for BigInt

Auto Trait Implementations§

§

impl Freeze for BigInt

§

impl RefUnwindSafe for BigInt

§

impl Send for BigInt

§

impl Sync for BigInt

§

impl Unpin for BigInt

§

impl UnwindSafe for BigInt

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

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§

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>,

Source§

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>,

Source§

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, 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>,

Source§

impl<T, Base> RefNum<Base> for T
where T: NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base>,