Struct rug::rational::MutNumerDenom
[−]
[src]
pub struct MutNumerDenom<'a> { /* fields omitted */ }
Deprecated since 0.10.0
: use the Rational::mutate_numer_denom
method instead of Rational::as_mut_numer_denom
.
Used to borrow the numerator and denominator of a
Rational
number mutably.
Methods
impl<'a> MutNumerDenom<'a>
[src]
fn num(&mut self) -> &mut Integer
[src]
Gets the mutable numerator.
fn den(&mut self) -> &mut Integer
[src]
Gets the mutable denominator.
fn num_den(&mut self) -> (&mut Integer, &mut Integer)
[src]
Gets the mutable numerator and denominator.