pub struct Ratio<A, B> { /* private fields */ }Expand description
Ratio between two indicators: A / B
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<A, B> Freeze for Ratio<A, B>
impl<A, B> RefUnwindSafe for Ratio<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Ratio<A, B>
impl<A, B> Sync for Ratio<A, B>
impl<A, B> Unpin for Ratio<A, B>
impl<A, B> UnsafeUnpin for Ratio<A, B>where
A: UnsafeUnpin,
B: UnsafeUnpin,
impl<A, B> UnwindSafe for Ratio<A, B>where
A: UnwindSafe,
B: 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