Struct gmp_mpfr_sys::gmp::mpq_t[][src]

#[repr(C)]
pub struct mpq_t { pub num: mpz_t, pub den: mpz_t, }
Expand description

See: mpq_t and Rational Internals

Future compatibility

The fields listed here are considered internal details. These internals may change in new minor releases of this crate, though they will be kept unchanged for patch releases. Any code that makes use of these internals should list the dependency as version = "~1.4" inside Cargo.toml, not version = "1.4".

Fields

num: mpz_t

Internal implementation detail: numerator.

den: mpz_t

Internal implementation detail: denominator.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.