#[repr(C)]pub struct Fract { /* private fields */ }
Expand description
Fraction value
Implementations§
Source§impl Fract
impl Fract
Sourcepub fn set_numerator(&mut self, val: u32) -> &mut Self
pub fn set_numerator(&mut self, val: u32) -> &mut Self
Numerator
Sourcepub fn set_denominator(&mut self, val: u32) -> &mut Self
pub fn set_denominator(&mut self, val: u32) -> &mut Self
Denominator
Trait Implementations§
Source§impl IsFrmIvalData for Fract
impl IsFrmIvalData for Fract
const TYPES: &'static [FrmIvalType]
impl Copy for Fract
Auto Trait Implementations§
impl Freeze for Fract
impl RefUnwindSafe for Fract
impl Send for Fract
impl Sync for Fract
impl Unpin for Fract
impl UnwindSafe for Fract
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