Struct rug::rational::MutNumerDenom [] [src]

pub struct MutNumerDenom<'a> { /* fields omitted */ }

Used to borrow the numerator and denominator of a Rational number mutably.

The Rational number is canonicalized when the borrow ends. See the Rational::as_mut_numer_denom() method.

Methods

impl<'a> MutNumerDenom<'a>
[src]

Gets the mutable numerator.

Gets the mutable denominator.

Gets the mutable numerator and denominator.

Trait Implementations

impl<'a> Drop for MutNumerDenom<'a>
[src]

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