pub struct Fraction<I> {
pub numer: I,
pub denom: I,
}Fields§
§numer: I§denom: ITrait 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