Struct gmp_mpfr_sys::gmp::mpq_t
source · #[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.5"
inside Cargo.toml, not version = "1.5"
.
Fields§
§num: mpz_t
Internal implementation detail: numerator.
den: mpz_t
Internal implementation detail: denominator.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for mpq_t
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more