#[repr(C)]pub struct FFFrac {
pub val: i64,
pub num: i64,
pub den: i64,
}
Expand description
The exact value of the fractional number is: ‘val + num / den’. num is assumed to be 0 <= num < den.
Fields§
§val: i64
§num: i64
§den: i64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FFFrac
impl RefUnwindSafe for FFFrac
impl Send for FFFrac
impl Sync for FFFrac
impl Unpin for FFFrac
impl UnwindSafe for FFFrac
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