Struct reckoner::Integer

source ·
#[repr(transparent)]
pub struct Integer { /* private fields */ }
Expand description

Multiple precision integer value.

Implementations§

source§

impl Integer

source

pub fn add(&self, other: &Self) -> Self

Add two integers and return the result

source

pub fn add_assign(&mut self, other: &Self)

Add two integers and assign the result to self

source

pub fn subtract(&self, other: &Self) -> Self

Subtract two integers and return the result

source

pub fn subtract_assign(&mut self, other: &Self)

Subtract two integers and assign the result to self

source

pub fn multiply(&self, other: &Self) -> Self

Multiply two integers and return the result

source

pub fn multiply_assign(&mut self, other: &Self)

Multiply two integers and assign the result to self

source

pub fn negate(&self) -> Self

Return the additive inverse

source

pub fn negate_assign(&mut self)

Assign the additive inverse to self

source

pub fn absolute_value(&self) -> Self

Return the absolute value

source

pub fn absolute_value_assign(&mut self)

Assign the absolute value to self

source

pub fn divide_full(&self, rhs: &Self) -> (Self, Self)

Divide two integers and return quotient and remainder

source

pub fn divide(&self, rhs: &Self) -> Self

Divide two integers and return only quotient

source

pub fn divide_assign(&mut self, rhs: &Self)

Divide two integers and assign the result to self

source

pub fn remainder(&self, rhs: &Self) -> Self

Divide two integers and return only remainder

source

pub fn remainder_assign(&mut self, rhs: &Self)

Divide two integers and assign the remainder to self

source§

impl Integer

source

pub fn new() -> Self

Construct a new integer with a default value of zero.

Example
use reckoner::Integer;

let a = Integer::new();

assert_eq!(a, 0);
source

pub unsafe fn from_raw(raw: *mut mpz_t) -> Self

Construct an Integer from a raw non-null pointer to creachadair_imath_sys::mpz_t.

Safety

This function must only every be called once for a given pointer, and the pointer must point to an initialized creachadair_imath_sys::mpz_t struct. The recommendation is to only use raw pointers from the Integer::into_raw function.

In ths context, initialized means that the creachadair_imath_sys::mpz_t has been the argument of a call to creachadair_imath_sys::mp_int_init.

Example
use creachadair_imath_sys::{mp_int_zero, MP_OK};
use reckoner::Integer;

let a = Integer::from(300);

assert_eq!(a, 300);

let a_raw = Integer::into_raw(a);

unsafe { mp_int_zero(a_raw) };

let a = unsafe { Integer::from_raw(a_raw) };

assert_eq!(a, 0);
source

pub fn into_raw(integer: Integer) -> *mut mpz_t

Consumes the Integer, returning a wrapped raw pointer.

Example
use creachadair_imath_sys::{mp_int_add, MP_OK};
use reckoner::Integer;

let a = Integer::from(200);
let b = Integer::from(300);
let c = Integer::new();

let a_raw = Integer::into_raw(a);
let b_raw = Integer::into_raw(b);
let c_raw = Integer::into_raw(c);

let op_res = unsafe { mp_int_add(a_raw, b_raw, c_raw) };

if op_res != unsafe { MP_OK } {
    panic!("Operation failed.")
}

let a = unsafe { Integer::from_raw(a_raw) };
let b = unsafe { Integer::from_raw(b_raw) };
let c = unsafe { Integer::from_raw(c_raw) };

assert_eq!(a, 200);
assert_eq!(b, 300);
assert_eq!(c, 500);
source

pub fn from_string(s: impl AsRef<str>, radix: u8) -> Result<Self, Error>

Parse an Integer from the given string, with the specified radix.

Example
use reckoner::Integer;

let a = Integer::from_string("8", 10);
let b = Integer::from_string("1000", 2);

assert_eq!(a, b);
source

pub fn copy_to(&self, other: &mut Self)

Replaces the value of other with a copy of the value of self. No new memory is allocated unless self has more significant digits than other has allocated.

Example
use reckoner::Integer;

let a = Integer::from(20);
let mut b = Integer::new();

assert_eq!(a, 20);
assert_eq!(b, 0);

a.copy_to(&mut b);

assert_eq!(a, 20);
assert_eq!(b, 20, "Failed to copy");
source

pub fn zero(&mut self)

Set value of integer to zero

Example
use reckoner::Integer;

let mut a = Integer::from(21837419283648u128);

assert_eq!(a, 21837419283648u128);
a.zero();
assert_eq!(a, 0);
source

pub fn compare(&self, rhs: &Self) -> Ordering

Compare two integers

Example
use reckoner::Integer;
use core::cmp::Ordering;

let a = Integer::from(123);
let b = Integer::from(456);

assert_eq!(a.compare(&b), Ordering::Less);
assert_eq!(b.compare(&a), Ordering::Greater);
assert_eq!(b.compare(&b), Ordering::Equal);
source

pub fn compare_magnitude(&self, rhs: &Self) -> Ordering

Compare the magnitude of two integers, not taking sign into account.

Example
use core::cmp::Ordering;
use reckoner::Integer;

let a = Integer::from(-234);
let b = Integer::from(123);

assert_eq!(a.compare_magnitude(&b), Ordering::Greater);
assert_eq!(a.compare(&b), Ordering::Less);
source

pub fn compare_zero(&self) -> Ordering

Compare an integer to zero.

Example
use core::cmp::Ordering;
use reckoner::Integer;

let a = Integer::from(-234);
let b = Integer::from(123);

assert_eq!(a.compare_zero(), Ordering::Less);
assert_eq!(b.compare_zero(), Ordering::Greater);

Trait Implementations§

source§

impl Add<&Integer> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for &Rational

§

type Output = Rational

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for &i128

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for &i16

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for &i32

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for &i64

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for &i8

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for &u128

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for &u16

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for &u32

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for &u64

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for &u8

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for Rational

§

type Output = Rational

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for i128

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for i16

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for i32

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for i64

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for i8

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for u128

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for u16

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for u32

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for u64

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Integer> for u8

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Rational> for &Integer

§

type Output = Rational

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Rational) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Rational> for Integer

§

type Output = Rational

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Rational) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&i128> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &i128) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&i128> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &i128) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&i16> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &i16) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&i16> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &i16) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&i32> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &i32) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&i32> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &i32) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&i64> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &i64) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&i64> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &i64) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&i8> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &i8) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&i8> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &i8) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&u128> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u128) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&u128> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u128) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&u16> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u16) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&u16> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u16) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&u32> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u32) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&u32> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u32) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&u64> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u64) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&u64> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u64) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&u8> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u8) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&u8> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u8) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for &Rational

§

type Output = Rational

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for &i128

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for &i16

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for &i32

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for &i64

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for &i8

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for &u128

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for &u16

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for &u32

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for &u64

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for &u8

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for Rational

§

type Output = Rational

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for i128

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for i16

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for i32

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for i64

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for i8

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for u128

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for u16

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for u32

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for u64

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Integer> for u8

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: Integer) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Rational> for &Integer

§

type Output = Rational

The resulting type after applying the + operator.
source§

fn add(self, rhs: Rational) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Rational> for Integer

§

type Output = Rational

The resulting type after applying the + operator.
source§

fn add(self, rhs: Rational) -> Self::Output

Performs the + operation. Read more
source§

impl Add<i128> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: i128) -> Self::Output

Performs the + operation. Read more
source§

impl Add<i128> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: i128) -> Self::Output

Performs the + operation. Read more
source§

impl Add<i16> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: i16) -> Self::Output

Performs the + operation. Read more
source§

impl Add<i16> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: i16) -> Self::Output

Performs the + operation. Read more
source§

impl Add<i32> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: i32) -> Self::Output

Performs the + operation. Read more
source§

impl Add<i32> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: i32) -> Self::Output

Performs the + operation. Read more
source§

impl Add<i64> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: i64) -> Self::Output

Performs the + operation. Read more
source§

impl Add<i64> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: i64) -> Self::Output

Performs the + operation. Read more
source§

impl Add<i8> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: i8) -> Self::Output

Performs the + operation. Read more
source§

impl Add<i8> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: i8) -> Self::Output

Performs the + operation. Read more
source§

impl Add<u128> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: u128) -> Self::Output

Performs the + operation. Read more
source§

impl Add<u128> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: u128) -> Self::Output

Performs the + operation. Read more
source§

impl Add<u16> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: u16) -> Self::Output

Performs the + operation. Read more
source§

impl Add<u16> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: u16) -> Self::Output

Performs the + operation. Read more
source§

impl Add<u32> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: u32) -> Self::Output

Performs the + operation. Read more
source§

impl Add<u32> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: u32) -> Self::Output

Performs the + operation. Read more
source§

impl Add<u64> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: u64) -> Self::Output

Performs the + operation. Read more
source§

impl Add<u64> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: u64) -> Self::Output

Performs the + operation. Read more
source§

impl Add<u8> for &Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: u8) -> Self::Output

Performs the + operation. Read more
source§

impl Add<u8> for Integer

§

type Output = Integer

The resulting type after applying the + operator.
source§

fn add(self, rhs: u8) -> Self::Output

Performs the + operation. Read more
source§

impl AddAssign<&Integer> for Integer

source§

fn add_assign(&mut self, rhs: &Integer)

Performs the += operation. Read more
source§

impl AddAssign<&Integer> for Rational

source§

fn add_assign(&mut self, rhs: &Integer)

Performs the += operation. Read more
source§

impl AddAssign<&i128> for Integer

source§

fn add_assign(&mut self, rhs: &i128)

Performs the += operation. Read more
source§

impl AddAssign<&i16> for Integer

source§

fn add_assign(&mut self, rhs: &i16)

Performs the += operation. Read more
source§

impl AddAssign<&i32> for Integer

source§

fn add_assign(&mut self, rhs: &i32)

Performs the += operation. Read more
source§

impl AddAssign<&i64> for Integer

source§

fn add_assign(&mut self, rhs: &i64)

Performs the += operation. Read more
source§

impl AddAssign<&i8> for Integer

source§

fn add_assign(&mut self, rhs: &i8)

Performs the += operation. Read more
source§

impl AddAssign<&u128> for Integer

source§

fn add_assign(&mut self, rhs: &u128)

Performs the += operation. Read more
source§

impl AddAssign<&u16> for Integer

source§

fn add_assign(&mut self, rhs: &u16)

Performs the += operation. Read more
source§

impl AddAssign<&u32> for Integer

source§

fn add_assign(&mut self, rhs: &u32)

Performs the += operation. Read more
source§

impl AddAssign<&u64> for Integer

source§

fn add_assign(&mut self, rhs: &u64)

Performs the += operation. Read more
source§

impl AddAssign<&u8> for Integer

source§

fn add_assign(&mut self, rhs: &u8)

Performs the += operation. Read more
source§

impl AddAssign<Integer> for Integer

source§

fn add_assign(&mut self, rhs: Integer)

Performs the += operation. Read more
source§

impl AddAssign<Integer> for Rational

source§

fn add_assign(&mut self, rhs: Integer)

Performs the += operation. Read more
source§

impl AddAssign<i128> for Integer

source§

fn add_assign(&mut self, rhs: i128)

Performs the += operation. Read more
source§

impl AddAssign<i16> for Integer

source§

fn add_assign(&mut self, rhs: i16)

Performs the += operation. Read more
source§

impl AddAssign<i32> for Integer

source§

fn add_assign(&mut self, rhs: i32)

Performs the += operation. Read more
source§

impl AddAssign<i64> for Integer

source§

fn add_assign(&mut self, rhs: i64)

Performs the += operation. Read more
source§

impl AddAssign<i8> for Integer

source§

fn add_assign(&mut self, rhs: i8)

Performs the += operation. Read more
source§

impl AddAssign<u128> for Integer

source§

fn add_assign(&mut self, rhs: u128)

Performs the += operation. Read more
source§

impl AddAssign<u16> for Integer

source§

fn add_assign(&mut self, rhs: u16)

Performs the += operation. Read more
source§

impl AddAssign<u32> for Integer

source§

fn add_assign(&mut self, rhs: u32)

Performs the += operation. Read more
source§

impl AddAssign<u64> for Integer

source§

fn add_assign(&mut self, rhs: u64)

Performs the += operation. Read more
source§

impl AddAssign<u8> for Integer

source§

fn add_assign(&mut self, rhs: u8)

Performs the += operation. Read more
source§

impl Clone for Integer

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Integer

source§

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

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

impl Default for Integer

source§

fn default() -> Self

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

impl Display for Integer

source§

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

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

impl Div<&Integer> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for &Rational

§

type Output = Rational

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for &i128

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for &i16

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for &i32

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for &i64

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for &i8

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for &u128

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for &u16

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for &u32

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for &u64

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for &u8

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for Rational

§

type Output = Rational

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for i128

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for i16

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for i32

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for i64

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for i8

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for u128

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for u16

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for u32

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for u64

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Integer> for u8

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Rational> for &Integer

§

type Output = Rational

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Rational) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Rational> for Integer

§

type Output = Rational

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Rational) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&i128> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &i128) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&i128> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &i128) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&i16> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &i16) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&i16> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &i16) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&i32> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &i32) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&i32> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &i32) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&i64> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &i64) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&i64> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &i64) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&i8> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &i8) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&i8> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &i8) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&u128> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u128) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&u128> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u128) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&u16> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u16) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&u16> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u16) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&u32> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u32) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&u32> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u32) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&u64> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u64) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&u64> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u64) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&u8> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u8) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&u8> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u8) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for &Rational

§

type Output = Rational

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for &i128

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for &i16

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for &i32

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for &i64

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for &i8

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for &u128

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for &u16

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for &u32

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for &u64

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for &u8

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for Rational

§

type Output = Rational

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for i128

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for i16

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for i32

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for i64

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for i8

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for u128

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for u16

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for u32

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for u64

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Integer> for u8

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: Integer) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Rational> for &Integer

§

type Output = Rational

The resulting type after applying the / operator.
source§

fn div(self, rhs: Rational) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Rational> for Integer

§

type Output = Rational

The resulting type after applying the / operator.
source§

fn div(self, rhs: Rational) -> Self::Output

Performs the / operation. Read more
source§

impl Div<i128> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: i128) -> Self::Output

Performs the / operation. Read more
source§

impl Div<i128> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: i128) -> Self::Output

Performs the / operation. Read more
source§

impl Div<i16> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: i16) -> Self::Output

Performs the / operation. Read more
source§

impl Div<i16> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: i16) -> Self::Output

Performs the / operation. Read more
source§

impl Div<i32> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: i32) -> Self::Output

Performs the / operation. Read more
source§

impl Div<i32> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: i32) -> Self::Output

Performs the / operation. Read more
source§

impl Div<i64> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: i64) -> Self::Output

Performs the / operation. Read more
source§

impl Div<i64> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: i64) -> Self::Output

Performs the / operation. Read more
source§

impl Div<i8> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: i8) -> Self::Output

Performs the / operation. Read more
source§

impl Div<i8> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: i8) -> Self::Output

Performs the / operation. Read more
source§

impl Div<u128> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: u128) -> Self::Output

Performs the / operation. Read more
source§

impl Div<u128> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: u128) -> Self::Output

Performs the / operation. Read more
source§

impl Div<u16> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: u16) -> Self::Output

Performs the / operation. Read more
source§

impl Div<u16> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: u16) -> Self::Output

Performs the / operation. Read more
source§

impl Div<u32> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: u32) -> Self::Output

Performs the / operation. Read more
source§

impl Div<u32> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: u32) -> Self::Output

Performs the / operation. Read more
source§

impl Div<u64> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: u64) -> Self::Output

Performs the / operation. Read more
source§

impl Div<u64> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: u64) -> Self::Output

Performs the / operation. Read more
source§

impl Div<u8> for &Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: u8) -> Self::Output

Performs the / operation. Read more
source§

impl Div<u8> for Integer

§

type Output = Integer

The resulting type after applying the / operator.
source§

fn div(self, rhs: u8) -> Self::Output

Performs the / operation. Read more
source§

impl DivAssign<&Integer> for Integer

source§

fn div_assign(&mut self, rhs: &Integer)

Performs the /= operation. Read more
source§

impl DivAssign<&Integer> for Rational

source§

fn div_assign(&mut self, rhs: &Integer)

Performs the /= operation. Read more
source§

impl DivAssign<&i128> for Integer

source§

fn div_assign(&mut self, rhs: &i128)

Performs the /= operation. Read more
source§

impl DivAssign<&i16> for Integer

source§

fn div_assign(&mut self, rhs: &i16)

Performs the /= operation. Read more
source§

impl DivAssign<&i32> for Integer

source§

fn div_assign(&mut self, rhs: &i32)

Performs the /= operation. Read more
source§

impl DivAssign<&i64> for Integer

source§

fn div_assign(&mut self, rhs: &i64)

Performs the /= operation. Read more
source§

impl DivAssign<&i8> for Integer

source§

fn div_assign(&mut self, rhs: &i8)

Performs the /= operation. Read more
source§

impl DivAssign<&u128> for Integer

source§

fn div_assign(&mut self, rhs: &u128)

Performs the /= operation. Read more
source§

impl DivAssign<&u16> for Integer

source§

fn div_assign(&mut self, rhs: &u16)

Performs the /= operation. Read more
source§

impl DivAssign<&u32> for Integer

source§

fn div_assign(&mut self, rhs: &u32)

Performs the /= operation. Read more
source§

impl DivAssign<&u64> for Integer

source§

fn div_assign(&mut self, rhs: &u64)

Performs the /= operation. Read more
source§

impl DivAssign<&u8> for Integer

source§

fn div_assign(&mut self, rhs: &u8)

Performs the /= operation. Read more
source§

impl DivAssign<Integer> for Integer

source§

fn div_assign(&mut self, rhs: Integer)

Performs the /= operation. Read more
source§

impl DivAssign<Integer> for Rational

source§

fn div_assign(&mut self, rhs: Integer)

Performs the /= operation. Read more
source§

impl DivAssign<i128> for Integer

source§

fn div_assign(&mut self, rhs: i128)

Performs the /= operation. Read more
source§

impl DivAssign<i16> for Integer

source§

fn div_assign(&mut self, rhs: i16)

Performs the /= operation. Read more
source§

impl DivAssign<i32> for Integer

source§

fn div_assign(&mut self, rhs: i32)

Performs the /= operation. Read more
source§

impl DivAssign<i64> for Integer

source§

fn div_assign(&mut self, rhs: i64)

Performs the /= operation. Read more
source§

impl DivAssign<i8> for Integer

source§

fn div_assign(&mut self, rhs: i8)

Performs the /= operation. Read more
source§

impl DivAssign<u128> for Integer

source§

fn div_assign(&mut self, rhs: u128)

Performs the /= operation. Read more
source§

impl DivAssign<u16> for Integer

source§

fn div_assign(&mut self, rhs: u16)

Performs the /= operation. Read more
source§

impl DivAssign<u32> for Integer

source§

fn div_assign(&mut self, rhs: u32)

Performs the /= operation. Read more
source§

impl DivAssign<u64> for Integer

source§

fn div_assign(&mut self, rhs: u64)

Performs the /= operation. Read more
source§

impl DivAssign<u8> for Integer

source§

fn div_assign(&mut self, rhs: u8)

Performs the /= operation. Read more
source§

impl Drop for Integer

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl From<&Integer> for Rational

source§

fn from(src: &Integer) -> Self

Converts to this type from the input type.
source§

impl From<&i128> for Integer

source§

fn from(src: &i128) -> Self

Converts to this type from the input type.
source§

impl From<&i16> for Integer

source§

fn from(src: &i16) -> Self

Converts to this type from the input type.
source§

impl From<&i32> for Integer

source§

fn from(src: &i32) -> Self

Converts to this type from the input type.
source§

impl From<&i64> for Integer

source§

fn from(src: &i64) -> Self

Converts to this type from the input type.
source§

impl From<&i8> for Integer

source§

fn from(src: &i8) -> Self

Converts to this type from the input type.
source§

impl From<&u128> for Integer

source§

fn from(src: &u128) -> Self

Converts to this type from the input type.
source§

impl From<&u16> for Integer

source§

fn from(src: &u16) -> Self

Converts to this type from the input type.
source§

impl From<&u32> for Integer

source§

fn from(src: &u32) -> Self

Converts to this type from the input type.
source§

impl From<&u64> for Integer

source§

fn from(src: &u64) -> Self

Converts to this type from the input type.
source§

impl From<&u8> for Integer

source§

fn from(src: &u8) -> Self

Converts to this type from the input type.
source§

impl From<Integer> for Rational

source§

fn from(src: Integer) -> Self

Converts to this type from the input type.
source§

impl From<i128> for Integer

source§

fn from(src: i128) -> Self

Converts to this type from the input type.
source§

impl From<i16> for Integer

source§

fn from(src: i16) -> Self

Converts to this type from the input type.
source§

impl From<i32> for Integer

source§

fn from(src: i32) -> Self

Converts to this type from the input type.
source§

impl From<i64> for Integer

source§

fn from(src: i64) -> Self

Converts to this type from the input type.
source§

impl From<i8> for Integer

source§

fn from(src: i8) -> Self

Converts to this type from the input type.
source§

impl From<u128> for Integer

source§

fn from(src: u128) -> Self

Converts to this type from the input type.
source§

impl From<u16> for Integer

source§

fn from(src: u16) -> Self

Converts to this type from the input type.
source§

impl From<u32> for Integer

source§

fn from(src: u32) -> Self

Converts to this type from the input type.
source§

impl From<u64> for Integer

source§

fn from(src: u64) -> Self

Converts to this type from the input type.
source§

impl From<u8> for Integer

source§

fn from(src: u8) -> Self

Converts to this type from the input type.
source§

impl FromStr for Integer

§

type Err = Error

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

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

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

impl Mul<&Integer> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for &Rational

§

type Output = Rational

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for &i128

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for &i16

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for &i32

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for &i64

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for &i8

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for &u128

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for &u16

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for &u32

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for &u64

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for &u8

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for Rational

§

type Output = Rational

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for i128

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for i16

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for i32

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for i64

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for i8

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for u128

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for u16

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for u32

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for u64

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Integer> for u8

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Rational> for &Integer

§

type Output = Rational

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Rational) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Rational> for Integer

§

type Output = Rational

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Rational) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&i128> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &i128) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&i128> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &i128) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&i16> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &i16) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&i16> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &i16) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&i32> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &i32) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&i32> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &i32) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&i64> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &i64) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&i64> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &i64) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&i8> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &i8) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&i8> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &i8) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&u128> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u128) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&u128> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u128) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&u16> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u16) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&u16> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u16) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&u32> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u32) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&u32> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u32) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&u64> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u64) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&u64> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u64) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&u8> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u8) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&u8> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u8) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for &Rational

§

type Output = Rational

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for &i128

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for &i16

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for &i32

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for &i64

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for &i8

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for &u128

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for &u16

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for &u32

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for &u64

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for &u8

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for Rational

§

type Output = Rational

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for i128

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for i16

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for i32

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for i64

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for i8

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for u128

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for u16

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for u32

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for u64

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Integer> for u8

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Integer) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Rational> for &Integer

§

type Output = Rational

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Rational) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Rational> for Integer

§

type Output = Rational

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Rational) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<i128> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: i128) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<i128> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: i128) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<i16> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: i16) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<i16> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: i16) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<i32> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: i32) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<i32> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: i32) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<i64> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: i64) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<i64> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: i64) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<i8> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: i8) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<i8> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: i8) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<u128> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u128) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<u128> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u128) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<u16> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u16) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<u16> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u16) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<u32> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u32) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<u32> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u32) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<u64> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u64) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<u64> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u64) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<u8> for &Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u8) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<u8> for Integer

§

type Output = Integer

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u8) -> Self::Output

Performs the * operation. Read more
source§

impl MulAssign<&Integer> for Integer

source§

fn mul_assign(&mut self, rhs: &Integer)

Performs the *= operation. Read more
source§

impl MulAssign<&Integer> for Rational

source§

fn mul_assign(&mut self, rhs: &Integer)

Performs the *= operation. Read more
source§

impl MulAssign<&i128> for Integer

source§

fn mul_assign(&mut self, rhs: &i128)

Performs the *= operation. Read more
source§

impl MulAssign<&i16> for Integer

source§

fn mul_assign(&mut self, rhs: &i16)

Performs the *= operation. Read more
source§

impl MulAssign<&i32> for Integer

source§

fn mul_assign(&mut self, rhs: &i32)

Performs the *= operation. Read more
source§

impl MulAssign<&i64> for Integer

source§

fn mul_assign(&mut self, rhs: &i64)

Performs the *= operation. Read more
source§

impl MulAssign<&i8> for Integer

source§

fn mul_assign(&mut self, rhs: &i8)

Performs the *= operation. Read more
source§

impl MulAssign<&u128> for Integer

source§

fn mul_assign(&mut self, rhs: &u128)

Performs the *= operation. Read more
source§

impl MulAssign<&u16> for Integer

source§

fn mul_assign(&mut self, rhs: &u16)

Performs the *= operation. Read more
source§

impl MulAssign<&u32> for Integer

source§

fn mul_assign(&mut self, rhs: &u32)

Performs the *= operation. Read more
source§

impl MulAssign<&u64> for Integer

source§

fn mul_assign(&mut self, rhs: &u64)

Performs the *= operation. Read more
source§

impl MulAssign<&u8> for Integer

source§

fn mul_assign(&mut self, rhs: &u8)

Performs the *= operation. Read more
source§

impl MulAssign<Integer> for Integer

source§

fn mul_assign(&mut self, rhs: Integer)

Performs the *= operation. Read more
source§

impl MulAssign<Integer> for Rational

source§

fn mul_assign(&mut self, rhs: Integer)

Performs the *= operation. Read more
source§

impl MulAssign<i128> for Integer

source§

fn mul_assign(&mut self, rhs: i128)

Performs the *= operation. Read more
source§

impl MulAssign<i16> for Integer

source§

fn mul_assign(&mut self, rhs: i16)

Performs the *= operation. Read more
source§

impl MulAssign<i32> for Integer

source§

fn mul_assign(&mut self, rhs: i32)

Performs the *= operation. Read more
source§

impl MulAssign<i64> for Integer

source§

fn mul_assign(&mut self, rhs: i64)

Performs the *= operation. Read more
source§

impl MulAssign<i8> for Integer

source§

fn mul_assign(&mut self, rhs: i8)

Performs the *= operation. Read more
source§

impl MulAssign<u128> for Integer

source§

fn mul_assign(&mut self, rhs: u128)

Performs the *= operation. Read more
source§

impl MulAssign<u16> for Integer

source§

fn mul_assign(&mut self, rhs: u16)

Performs the *= operation. Read more
source§

impl MulAssign<u32> for Integer

source§

fn mul_assign(&mut self, rhs: u32)

Performs the *= operation. Read more
source§

impl MulAssign<u64> for Integer

source§

fn mul_assign(&mut self, rhs: u64)

Performs the *= operation. Read more
source§

impl MulAssign<u8> for Integer

source§

fn mul_assign(&mut self, rhs: u8)

Performs the *= operation. Read more
source§

impl Neg for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
source§

impl Neg for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
source§

impl Ord for Integer

source§

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

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

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

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

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

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

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

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

impl PartialEq<Integer> for Integer

source§

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

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

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

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

impl PartialEq<Integer> for Rational

source§

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

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

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

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

impl PartialEq<Integer> for i128

source§

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

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

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

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

impl PartialEq<Integer> for i16

source§

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

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

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

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

impl PartialEq<Integer> for i32

source§

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

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

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

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

impl PartialEq<Integer> for i64

source§

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

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

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

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

impl PartialEq<Integer> for i8

source§

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

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

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

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

impl PartialEq<Integer> for u128

source§

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

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

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

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

impl PartialEq<Integer> for u16

source§

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

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

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

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

impl PartialEq<Integer> for u32

source§

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

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

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

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

impl PartialEq<Integer> for u64

source§

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

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

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

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

impl PartialEq<Integer> for u8

source§

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

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

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

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

impl PartialEq<Rational> for Integer

source§

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

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

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

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

impl PartialEq<i128> for Integer

source§

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

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

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

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

impl PartialEq<i16> for Integer

source§

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

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

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

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

impl PartialEq<i32> for Integer

source§

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

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

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

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

impl PartialEq<i64> for Integer

source§

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

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

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

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

impl PartialEq<i8> for Integer

source§

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

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

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

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

impl PartialEq<u128> for Integer

source§

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

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

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

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

impl PartialEq<u16> for Integer

source§

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

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

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

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

impl PartialEq<u32> for Integer

source§

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

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

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

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

impl PartialEq<u64> for Integer

source§

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

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

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

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

impl PartialEq<u8> for Integer

source§

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

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

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

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

impl PartialOrd<Integer> for Integer

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Integer> for Rational

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Integer> for i128

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Integer> for i16

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Integer> for i32

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Integer> for i64

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Integer> for i8

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Integer> for u128

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Integer> for u16

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Integer> for u32

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Integer> for u64

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Integer> for u8

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<Rational> for Integer

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<i128> for Integer

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<i16> for Integer

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<i32> for Integer

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<i64> for Integer

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<i8> for Integer

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<u128> for Integer

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<u16> for Integer

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<u32> for Integer

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<u64> for Integer

source§

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

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

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

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

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

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

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

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

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

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

impl PartialOrd<u8> for Integer

source§

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

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

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

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

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

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

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

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

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

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

impl Product<Integer> for Integer

source§

fn product<I: Iterator<Item = Integer>>(iter: I) -> Self

Method which takes an iterator and generates Self from the elements by multiplying the items.
source§

impl Rem<&Integer> for &Integer

§

type Output = Integer

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for &i128

§

type Output = i128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for &i16

§

type Output = i16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for &i32

§

type Output = i32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for &i64

§

type Output = i64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for &i8

§

type Output = i8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for &u128

§

type Output = u128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for &u16

§

type Output = u16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for &u32

§

type Output = u32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for &u64

§

type Output = u64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for &u8

§

type Output = u8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for Integer

§

type Output = Integer

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for i128

§

type Output = i128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for i16

§

type Output = i16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for i32

§

type Output = i32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for i64

§

type Output = i64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for i8

§

type Output = i8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for u128

§

type Output = u128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for u16

§

type Output = u16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for u32

§

type Output = u32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for u64

§

type Output = u64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&Integer> for u8

§

type Output = u8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&i128> for &Integer

§

type Output = i128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &i128) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&i128> for Integer

§

type Output = i128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &i128) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&i16> for &Integer

§

type Output = i16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &i16) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&i16> for Integer

§

type Output = i16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &i16) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&i32> for &Integer

§

type Output = i32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &i32) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&i32> for Integer

§

type Output = i32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &i32) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&i64> for &Integer

§

type Output = i64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &i64) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&i64> for Integer

§

type Output = i64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &i64) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&i8> for &Integer

§

type Output = i8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &i8) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&i8> for Integer

§

type Output = i8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &i8) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&u128> for &Integer

§

type Output = u128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u128) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&u128> for Integer

§

type Output = u128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u128) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&u16> for &Integer

§

type Output = u16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u16) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&u16> for Integer

§

type Output = u16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u16) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&u32> for &Integer

§

type Output = u32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u32) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&u32> for Integer

§

type Output = u32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u32) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&u64> for &Integer

§

type Output = u64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u64) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&u64> for Integer

§

type Output = u64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u64) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&u8> for &Integer

§

type Output = u8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u8) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<&u8> for Integer

§

type Output = u8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u8) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for &Integer

§

type Output = Integer

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for &i128

§

type Output = i128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for &i16

§

type Output = i16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for &i32

§

type Output = i32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for &i64

§

type Output = i64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for &i8

§

type Output = i8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for &u128

§

type Output = u128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for &u16

§

type Output = u16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for &u32

§

type Output = u32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for &u64

§

type Output = u64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for &u8

§

type Output = u8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for Integer

§

type Output = Integer

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for i128

§

type Output = i128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for i16

§

type Output = i16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for i32

§

type Output = i32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for i64

§

type Output = i64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for i8

§

type Output = i8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for u128

§

type Output = u128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for u16

§

type Output = u16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for u32

§

type Output = u32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for u64

§

type Output = u64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<Integer> for u8

§

type Output = u8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Integer) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<i128> for &Integer

§

type Output = i128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: i128) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<i128> for Integer

§

type Output = i128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: i128) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<i16> for &Integer

§

type Output = i16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: i16) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<i16> for Integer

§

type Output = i16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: i16) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<i32> for &Integer

§

type Output = i32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: i32) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<i32> for Integer

§

type Output = i32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: i32) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<i64> for &Integer

§

type Output = i64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: i64) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<i64> for Integer

§

type Output = i64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: i64) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<i8> for &Integer

§

type Output = i8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: i8) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<i8> for Integer

§

type Output = i8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: i8) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<u128> for &Integer

§

type Output = u128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u128) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<u128> for Integer

§

type Output = u128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u128) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<u16> for &Integer

§

type Output = u16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u16) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<u16> for Integer

§

type Output = u16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u16) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<u32> for &Integer

§

type Output = u32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u32) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<u32> for Integer

§

type Output = u32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u32) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<u64> for &Integer

§

type Output = u64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u64) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<u64> for Integer

§

type Output = u64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u64) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<u8> for &Integer

§

type Output = u8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u8) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<u8> for Integer

§

type Output = u8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u8) -> Self::Output

Performs the % operation. Read more
source§

impl RemAssign<&Integer> for Integer

source§

fn rem_assign(&mut self, rhs: &Integer)

Performs the %= operation. Read more
source§

impl RemAssign<&Integer> for i128

source§

fn rem_assign(&mut self, rhs: &Integer)

Performs the %= operation. Read more
source§

impl RemAssign<&Integer> for i16

source§

fn rem_assign(&mut self, rhs: &Integer)

Performs the %= operation. Read more
source§

impl RemAssign<&Integer> for i32

source§

fn rem_assign(&mut self, rhs: &Integer)

Performs the %= operation. Read more
source§

impl RemAssign<&Integer> for i64

source§

fn rem_assign(&mut self, rhs: &Integer)

Performs the %= operation. Read more
source§

impl RemAssign<&Integer> for i8

source§

fn rem_assign(&mut self, rhs: &Integer)

Performs the %= operation. Read more
source§

impl RemAssign<&Integer> for u128

source§

fn rem_assign(&mut self, rhs: &Integer)

Performs the %= operation. Read more
source§

impl RemAssign<&Integer> for u16

source§

fn rem_assign(&mut self, rhs: &Integer)

Performs the %= operation. Read more
source§

impl RemAssign<&Integer> for u32

source§

fn rem_assign(&mut self, rhs: &Integer)

Performs the %= operation. Read more
source§

impl RemAssign<&Integer> for u64

source§

fn rem_assign(&mut self, rhs: &Integer)

Performs the %= operation. Read more
source§

impl RemAssign<&Integer> for u8

source§

fn rem_assign(&mut self, rhs: &Integer)

Performs the %= operation. Read more
source§

impl RemAssign<&i128> for Integer

source§

fn rem_assign(&mut self, rhs: &i128)

Performs the %= operation. Read more
source§

impl RemAssign<&i16> for Integer

source§

fn rem_assign(&mut self, rhs: &i16)

Performs the %= operation. Read more
source§

impl RemAssign<&i32> for Integer

source§

fn rem_assign(&mut self, rhs: &i32)

Performs the %= operation. Read more
source§

impl RemAssign<&i64> for Integer

source§

fn rem_assign(&mut self, rhs: &i64)

Performs the %= operation. Read more
source§

impl RemAssign<&i8> for Integer

source§

fn rem_assign(&mut self, rhs: &i8)

Performs the %= operation. Read more
source§

impl RemAssign<&u128> for Integer

source§

fn rem_assign(&mut self, rhs: &u128)

Performs the %= operation. Read more
source§

impl RemAssign<&u16> for Integer

source§

fn rem_assign(&mut self, rhs: &u16)

Performs the %= operation. Read more
source§

impl RemAssign<&u32> for Integer

source§

fn rem_assign(&mut self, rhs: &u32)

Performs the %= operation. Read more
source§

impl RemAssign<&u64> for Integer

source§

fn rem_assign(&mut self, rhs: &u64)

Performs the %= operation. Read more
source§

impl RemAssign<&u8> for Integer

source§

fn rem_assign(&mut self, rhs: &u8)

Performs the %= operation. Read more
source§

impl RemAssign<Integer> for Integer

source§

fn rem_assign(&mut self, rhs: Integer)

Performs the %= operation. Read more
source§

impl RemAssign<Integer> for i128

source§

fn rem_assign(&mut self, rhs: Integer)

Performs the %= operation. Read more
source§

impl RemAssign<Integer> for i16

source§

fn rem_assign(&mut self, rhs: Integer)

Performs the %= operation. Read more
source§

impl RemAssign<Integer> for i32

source§

fn rem_assign(&mut self, rhs: Integer)

Performs the %= operation. Read more
source§

impl RemAssign<Integer> for i64

source§

fn rem_assign(&mut self, rhs: Integer)

Performs the %= operation. Read more
source§

impl RemAssign<Integer> for i8

source§

fn rem_assign(&mut self, rhs: Integer)

Performs the %= operation. Read more
source§

impl RemAssign<Integer> for u128

source§

fn rem_assign(&mut self, rhs: Integer)

Performs the %= operation. Read more
source§

impl RemAssign<Integer> for u16

source§

fn rem_assign(&mut self, rhs: Integer)

Performs the %= operation. Read more
source§

impl RemAssign<Integer> for u32

source§

fn rem_assign(&mut self, rhs: Integer)

Performs the %= operation. Read more
source§

impl RemAssign<Integer> for u64

source§

fn rem_assign(&mut self, rhs: Integer)

Performs the %= operation. Read more
source§

impl RemAssign<Integer> for u8

source§

fn rem_assign(&mut self, rhs: Integer)

Performs the %= operation. Read more
source§

impl RemAssign<i128> for Integer

source§

fn rem_assign(&mut self, rhs: i128)

Performs the %= operation. Read more
source§

impl RemAssign<i16> for Integer

source§

fn rem_assign(&mut self, rhs: i16)

Performs the %= operation. Read more
source§

impl RemAssign<i32> for Integer

source§

fn rem_assign(&mut self, rhs: i32)

Performs the %= operation. Read more
source§

impl RemAssign<i64> for Integer

source§

fn rem_assign(&mut self, rhs: i64)

Performs the %= operation. Read more
source§

impl RemAssign<i8> for Integer

source§

fn rem_assign(&mut self, rhs: i8)

Performs the %= operation. Read more
source§

impl RemAssign<u128> for Integer

source§

fn rem_assign(&mut self, rhs: u128)

Performs the %= operation. Read more
source§

impl RemAssign<u16> for Integer

source§

fn rem_assign(&mut self, rhs: u16)

Performs the %= operation. Read more
source§

impl RemAssign<u32> for Integer

source§

fn rem_assign(&mut self, rhs: u32)

Performs the %= operation. Read more
source§

impl RemAssign<u64> for Integer

source§

fn rem_assign(&mut self, rhs: u64)

Performs the %= operation. Read more
source§

impl RemAssign<u8> for Integer

source§

fn rem_assign(&mut self, rhs: u8)

Performs the %= operation. Read more
source§

impl Sub<&Integer> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for &Rational

§

type Output = Rational

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for &i128

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for &i16

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for &i32

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for &i64

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for &i8

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for &u128

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for &u16

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for &u32

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for &u64

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for &u8

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for Rational

§

type Output = Rational

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for i128

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for i16

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for i32

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for i64

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for i8

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for u128

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for u16

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for u32

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for u64

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Integer> for u8

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Rational> for &Integer

§

type Output = Rational

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Rational) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Rational> for Integer

§

type Output = Rational

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Rational) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&i128> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &i128) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&i128> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &i128) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&i16> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &i16) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&i16> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &i16) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&i32> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &i32) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&i32> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &i32) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&i64> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &i64) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&i64> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &i64) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&i8> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &i8) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&i8> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &i8) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&u128> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u128) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&u128> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u128) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&u16> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u16) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&u16> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u16) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&u32> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u32) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&u32> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u32) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&u64> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u64) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&u64> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u64) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&u8> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u8) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&u8> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u8) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for &Rational

§

type Output = Rational

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for &i128

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for &i16

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for &i32

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for &i64

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for &i8

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for &u128

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for &u16

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for &u32

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for &u64

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for &u8

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for Rational

§

type Output = Rational

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for i128

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for i16

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for i32

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for i64

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for i8

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for u128

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for u16

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for u32

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for u64

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Integer> for u8

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Integer) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Rational> for &Integer

§

type Output = Rational

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Rational) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Rational> for Integer

§

type Output = Rational

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Rational) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<i128> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: i128) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<i128> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: i128) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<i16> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: i16) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<i16> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: i16) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<i32> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: i32) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<i32> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: i32) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<i64> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: i64) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<i64> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: i64) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<i8> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: i8) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<i8> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: i8) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<u128> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u128) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<u128> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u128) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<u16> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u16) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<u16> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u16) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<u32> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u32) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<u32> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u32) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<u64> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u64) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<u64> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u64) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<u8> for &Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u8) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<u8> for Integer

§

type Output = Integer

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u8) -> Self::Output

Performs the - operation. Read more
source§

impl SubAssign<&Integer> for Integer

source§

fn sub_assign(&mut self, rhs: &Integer)

Performs the -= operation. Read more
source§

impl SubAssign<&Integer> for Rational

source§

fn sub_assign(&mut self, rhs: &Integer)

Performs the -= operation. Read more
source§

impl SubAssign<&i128> for Integer

source§

fn sub_assign(&mut self, rhs: &i128)

Performs the -= operation. Read more
source§

impl SubAssign<&i16> for Integer

source§

fn sub_assign(&mut self, rhs: &i16)

Performs the -= operation. Read more
source§

impl SubAssign<&i32> for Integer

source§

fn sub_assign(&mut self, rhs: &i32)

Performs the -= operation. Read more
source§

impl SubAssign<&i64> for Integer

source§

fn sub_assign(&mut self, rhs: &i64)

Performs the -= operation. Read more
source§

impl SubAssign<&i8> for Integer

source§

fn sub_assign(&mut self, rhs: &i8)

Performs the -= operation. Read more
source§

impl SubAssign<&u128> for Integer

source§

fn sub_assign(&mut self, rhs: &u128)

Performs the -= operation. Read more
source§

impl SubAssign<&u16> for Integer

source§

fn sub_assign(&mut self, rhs: &u16)

Performs the -= operation. Read more
source§

impl SubAssign<&u32> for Integer

source§

fn sub_assign(&mut self, rhs: &u32)

Performs the -= operation. Read more
source§

impl SubAssign<&u64> for Integer

source§

fn sub_assign(&mut self, rhs: &u64)

Performs the -= operation. Read more
source§

impl SubAssign<&u8> for Integer

source§

fn sub_assign(&mut self, rhs: &u8)

Performs the -= operation. Read more
source§

impl SubAssign<Integer> for Integer

source§

fn sub_assign(&mut self, rhs: Integer)

Performs the -= operation. Read more
source§

impl SubAssign<Integer> for Rational

source§

fn sub_assign(&mut self, rhs: Integer)

Performs the -= operation. Read more
source§

impl SubAssign<i128> for Integer

source§

fn sub_assign(&mut self, rhs: i128)

Performs the -= operation. Read more
source§

impl SubAssign<i16> for Integer

source§

fn sub_assign(&mut self, rhs: i16)

Performs the -= operation. Read more
source§

impl SubAssign<i32> for Integer

source§

fn sub_assign(&mut self, rhs: i32)

Performs the -= operation. Read more
source§

impl SubAssign<i64> for Integer

source§

fn sub_assign(&mut self, rhs: i64)

Performs the -= operation. Read more
source§

impl SubAssign<i8> for Integer

source§

fn sub_assign(&mut self, rhs: i8)

Performs the -= operation. Read more
source§

impl SubAssign<u128> for Integer

source§

fn sub_assign(&mut self, rhs: u128)

Performs the -= operation. Read more
source§

impl SubAssign<u16> for Integer

source§

fn sub_assign(&mut self, rhs: u16)

Performs the -= operation. Read more
source§

impl SubAssign<u32> for Integer

source§

fn sub_assign(&mut self, rhs: u32)

Performs the -= operation. Read more
source§

impl SubAssign<u64> for Integer

source§

fn sub_assign(&mut self, rhs: u64)

Performs the -= operation. Read more
source§

impl SubAssign<u8> for Integer

source§

fn sub_assign(&mut self, rhs: u8)

Performs the -= operation. Read more
source§

impl Sum<Integer> for Integer

source§

fn sum<I: Iterator<Item = Integer>>(iter: I) -> Self

Method which takes an iterator and generates Self from the elements by “summing up” the items.
source§

impl TryFrom<&Integer> for i128

§

type Error = Error

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

fn try_from(src: &Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&Integer> for i16

§

type Error = Error

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

fn try_from(src: &Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&Integer> for i32

§

type Error = Error

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

fn try_from(src: &Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&Integer> for i64

§

type Error = Error

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

fn try_from(src: &Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&Integer> for i8

§

type Error = Error

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

fn try_from(src: &Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&Integer> for u128

§

type Error = Error

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

fn try_from(src: &Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&Integer> for u16

§

type Error = Error

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

fn try_from(src: &Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&Integer> for u32

§

type Error = Error

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

fn try_from(src: &Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&Integer> for u64

§

type Error = Error

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

fn try_from(src: &Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&Integer> for u8

§

type Error = Error

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

fn try_from(src: &Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&Rational> for Integer

§

type Error = Error

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

fn try_from(src: &Rational) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Integer> for i128

§

type Error = Error

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

fn try_from(src: Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Integer> for i16

§

type Error = Error

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

fn try_from(src: Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Integer> for i32

§

type Error = Error

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

fn try_from(src: Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Integer> for i64

§

type Error = Error

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

fn try_from(src: Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Integer> for i8

§

type Error = Error

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

fn try_from(src: Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Integer> for u128

§

type Error = Error

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

fn try_from(src: Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Integer> for u16

§

type Error = Error

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

fn try_from(src: Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Integer> for u32

§

type Error = Error

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

fn try_from(src: Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Integer> for u64

§

type Error = Error

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

fn try_from(src: Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Integer> for u8

§

type Error = Error

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

fn try_from(src: Integer) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Rational> for Integer

§

type Error = Error

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

fn try_from(src: Rational) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Eq for Integer

source§

impl Send for Integer

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere 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 Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

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

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

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

source§

default fn to_string(&self) -> String

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

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.