Struct gmp::mpq::Mpq [] [src]

pub struct Mpq { /* fields omitted */ }

Methods

impl Mpq
[src]

Trait Implementations

impl Send for Mpq
[src]

impl Sync for Mpq
[src]

impl Drop for Mpq
[src]

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

impl Clone for Mpq
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Mpq
[src]

impl PartialEq for Mpq
[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 Mpq
[src]

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

impl PartialOrd for Mpq
[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<Mpq> for Mpq
[src]

The resulting type after applying the + operator

The method for the + operator

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

The resulting type after applying the + operator

The method for the + operator

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

The resulting type after applying the + operator

The method for the + operator

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

The resulting type after applying the + operator

The method for the + operator

impl<'a> AddAssign<Mpq> for Mpq
[src]

The method for the += operator

impl<'a> AddAssign<&'a Mpq> for Mpq
[src]

The method for the += operator

impl Sub<Mpq> for Mpq
[src]

The resulting type after applying the - operator

The method for the - operator

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

The resulting type after applying the - operator

The method for the - operator

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

The resulting type after applying the - operator

The method for the - operator

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

The resulting type after applying the - operator

The method for the - operator

impl<'a> SubAssign<Mpq> for Mpq
[src]

The method for the -= operator

impl<'a> SubAssign<&'a Mpq> for Mpq
[src]

The method for the -= operator

impl Mul<Mpq> for Mpq
[src]

The resulting type after applying the * operator

The method for the * operator

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

The resulting type after applying the * operator

The method for the * operator

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

The resulting type after applying the * operator

The method for the * operator

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

The resulting type after applying the * operator

The method for the * operator

impl<'a> MulAssign<Mpq> for Mpq
[src]

The method for the *= operator

impl<'a> MulAssign<&'a Mpq> for Mpq
[src]

The method for the *= operator

impl Div<Mpq> for Mpq
[src]

The resulting type after applying the / operator

The method for the / operator

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

The resulting type after applying the / operator

The method for the / operator

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

The resulting type after applying the / operator

The method for the / operator

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

The resulting type after applying the / operator

The method for the / operator

impl<'a> DivAssign<Mpq> for Mpq
[src]

The method for the /= operator

impl<'a> DivAssign<&'a Mpq> for Mpq
[src]

The method for the /= operator

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

The resulting type after applying the - operator

The method for the unary - operator

impl Neg for Mpq
[src]

The resulting type after applying the - operator

The method for the unary - operator

impl From<Mpz> for Mpq
[src]

Performs the conversion.

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

Performs the conversion.

impl From<i64> for Mpq
[src]

Performs the conversion.

impl From<i32> for Mpq
[src]

Performs the conversion.

impl From<u64> for Mpq
[src]

Performs the conversion.

impl From<u32> for Mpq
[src]

Performs the conversion.

impl FromStr for Mpq
[src]

The associated error which can be returned from parsing.

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

impl Debug for Mpq
[src]

Renders as numer/denom. If denom=1, renders as numer.

impl Display for Mpq
[src]

Renders as numer/denom. If denom=1, renders as numer.

impl Zero for Mpq
[src]

Returns the additive identity element of Self, 0. Read more

Returns true if self is equal to the additive identity.

impl One for Mpq
[src]

Returns the multiplicative identity element of Self, 1. Read more