Struct gmp::mpz::Mpz [] [src]

pub struct Mpz { /* fields omitted */ }

Methods

impl Mpz
[src]

Given (a, b), return (g, s, t) such that g = gcd(a, b) = s*a + t*b.

Trait Implementations

impl Send for Mpz
[src]

impl Drop for Mpz
[src]

A method called when the value goes out of scope. Read more

impl Clone for Mpz
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Mpz
[src]

impl PartialEq for Mpz
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Ord for Mpz
[src]

This method returns an Ordering between self and other. Read more

impl PartialOrd for Mpz
[src]

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

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

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

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

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

impl Add<Mpz> for Mpz
[src]

The resulting type after applying the + operator

The method for the + operator

impl<'a> Add<&'a Mpz> for Mpz
[src]

The resulting type after applying the + operator

The method for the + operator

impl<'a> Add<Mpz> for &'a Mpz
[src]

The resulting type after applying the + operator

The method for the + operator

impl<'a, 'b> Add<&'b Mpz> for &'a Mpz
[src]

The resulting type after applying the + operator

The method for the + operator

impl Add<u64> for Mpz
[src]

The resulting type after applying the + operator

The method for the + operator

impl<'a> Add<u64> for &'a Mpz
[src]

The resulting type after applying the + operator

The method for the + operator

impl Sub<Mpz> for Mpz
[src]

The resulting type after applying the - operator

The method for the - operator

impl<'a> Sub<&'a Mpz> for Mpz
[src]

The resulting type after applying the - operator

The method for the - operator

impl<'a> Sub<Mpz> for &'a Mpz
[src]

The resulting type after applying the - operator

The method for the - operator

impl<'a, 'b> Sub<&'b Mpz> for &'a Mpz
[src]

The resulting type after applying the - operator

The method for the - operator

impl Sub<u64> for Mpz
[src]

The resulting type after applying the - operator

The method for the - operator

impl<'a> Sub<u64> for &'a Mpz
[src]

The resulting type after applying the - operator

The method for the - operator

impl Mul<Mpz> for Mpz
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a> Mul<&'a Mpz> for Mpz
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a> Mul<Mpz> for &'a Mpz
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a, 'b> Mul<&'b Mpz> for &'a Mpz
[src]

The resulting type after applying the * operator

The method for the * operator

impl Mul<i64> for Mpz
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a> Mul<i64> for &'a Mpz
[src]

The resulting type after applying the * operator

The method for the * operator

impl Mul<u64> for Mpz
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a> Mul<u64> for &'a Mpz
[src]

The resulting type after applying the * operator

The method for the * operator

impl Div<Mpz> for Mpz
[src]

The resulting type after applying the / operator

The method for the / operator

impl<'a> Div<&'a Mpz> for Mpz
[src]

The resulting type after applying the / operator

The method for the / operator

impl<'a> Div<Mpz> for &'a Mpz
[src]

The resulting type after applying the / operator

The method for the / operator

impl<'a, 'b> Div<&'b Mpz> for &'a Mpz
[src]

The resulting type after applying the / operator

The method for the / operator

impl Div<u64> for Mpz
[src]

The resulting type after applying the / operator

The method for the / operator

impl<'a> Div<u64> for &'a Mpz
[src]

The resulting type after applying the / operator

The method for the / operator

impl Rem<Mpz> for Mpz
[src]

The resulting type after applying the % operator

The method for the % operator

impl<'a> Rem<&'a Mpz> for Mpz
[src]

The resulting type after applying the % operator

The method for the % operator

impl<'a> Rem<Mpz> for &'a Mpz
[src]

The resulting type after applying the % operator

The method for the % operator

impl<'a, 'b> Rem<&'b Mpz> for &'a Mpz
[src]

The resulting type after applying the % operator

The method for the % operator

impl Rem<u64> for Mpz
[src]

The resulting type after applying the % operator

The method for the % operator

impl<'a> Rem<u64> for &'a Mpz
[src]

The resulting type after applying the % operator

The method for the % operator

impl<'b> Neg for &'b Mpz
[src]

The resulting type after applying the - operator

The method for the unary - operator

impl Neg for Mpz
[src]

The resulting type after applying the - operator

The method for the unary - operator

impl<'b> Into<Vec<u8>> for &'b Mpz
[src]

Performs the conversion.

impl<'b> Into<Option<i64>> for &'b Mpz
[src]

Performs the conversion.

impl<'b> Into<Option<u64>> for &'b Mpz
[src]

Performs the conversion.

impl<'a> Into<f64> for &'a Mpz
[src]

Performs the conversion.

impl<'a> From<&'a [u8]> for Mpz
[src]

Performs the conversion.

impl From<u64> for Mpz
[src]

Performs the conversion.

impl From<u32> for Mpz
[src]

Performs the conversion.

impl From<i64> for Mpz
[src]

Performs the conversion.

impl From<i32> for Mpz
[src]

Performs the conversion.

impl BitAnd<Mpz> for Mpz
[src]

The resulting type after applying the & operator

The method for the & operator

impl<'a> BitAnd<&'a Mpz> for Mpz
[src]

The resulting type after applying the & operator

The method for the & operator

impl<'a> BitAnd<Mpz> for &'a Mpz
[src]

The resulting type after applying the & operator

The method for the & operator

impl<'a, 'b> BitAnd<&'b Mpz> for &'a Mpz
[src]

The resulting type after applying the & operator

The method for the & operator

impl BitOr<Mpz> for Mpz
[src]

The resulting type after applying the | operator

The method for the | operator

impl<'a> BitOr<&'a Mpz> for Mpz
[src]

The resulting type after applying the | operator

The method for the | operator

impl<'a> BitOr<Mpz> for &'a Mpz
[src]

The resulting type after applying the | operator

The method for the | operator

impl<'a, 'b> BitOr<&'b Mpz> for &'a Mpz
[src]

The resulting type after applying the | operator

The method for the | operator

impl BitXor<Mpz> for Mpz
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl<'a> BitXor<&'a Mpz> for Mpz
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl<'a> BitXor<Mpz> for &'a Mpz
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl<'a, 'b> BitXor<&'b Mpz> for &'a Mpz
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl<'b> Shl<usize> for &'b Mpz
[src]

The resulting type after applying the << operator

The method for the << operator

impl<'b> Shr<usize> for &'b Mpz
[src]

The resulting type after applying the >> operator

The method for the >> operator

impl Shl<usize> for Mpz
[src]

The resulting type after applying the << operator

The method for the << operator

impl Shr<usize> for Mpz
[src]

The resulting type after applying the >> operator

The method for the >> operator

impl FromStr for Mpz
[src]

The associated error which can be returned from parsing.

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

impl Display for Mpz
[src]

Formats the value using the given formatter. Read more

impl Debug for Mpz
[src]

Formats the value using the given formatter.

impl Hash for Mpz
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more