Struct gmp_mpfr_sys::gmp::mpq_t
source · [−]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
Auto Trait Implementations
impl RefUnwindSafe for mpq_t
impl !Send for mpq_t
impl !Sync for mpq_t
impl Unpin for mpq_t
impl UnwindSafe for mpq_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more