Expand description
A signed rational number, which is a pair of 32-bit signed integers.
Fields
num: i32
denom: i32
Implementations
Trait Implementations
impl Copy for SRational
Auto Trait Implementations
impl RefUnwindSafe for SRational
impl Send for SRational
impl Sync for SRational
impl Unpin for SRational
impl UnwindSafe for SRational
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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