Struct nekolib_doc::math::Fraction
source · pub struct Fraction<I> {
pub numer: I,
pub denom: I,
}
Fields§
§numer: I
§denom: I
Trait Implementations§
Auto Trait Implementations§
impl<I> Freeze for Fraction<I>where
I: Freeze,
impl<I> RefUnwindSafe for Fraction<I>where
I: RefUnwindSafe,
impl<I> Send for Fraction<I>where
I: Send,
impl<I> Sync for Fraction<I>where
I: Sync,
impl<I> Unpin for Fraction<I>where
I: Unpin,
impl<I> UnwindSafe for Fraction<I>where
I: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)