#[repr(u8)]pub enum Ratio {
Ratio32 = 0,
Ratio48 = 1,
Ratio50 = 2,
Ratio64 = 3,
Ratio80 = 4,
Ratio96 = 5,
Ratio100 = 6,
Ratio128 = 7,
}Variants§
Ratio32 = 0
Ratio of 32.
Ratio48 = 1
Ratio of 48.
Ratio50 = 2
Ratio of 50.
Ratio64 = 3
Ratio of 64.
Ratio80 = 4
Ratio of 80.
Ratio96 = 5
Ratio of 96.
Ratio100 = 6
Ratio of 100.
Ratio128 = 7
Ratio of 128.
Implementations§
Trait Implementations§
Source§impl Ord for Ratio
impl Ord for Ratio
Source§impl PartialOrd for Ratio
impl PartialOrd for Ratio
impl Copy for Ratio
impl Eq for Ratio
impl StructuralPartialEq for Ratio
Auto Trait Implementations§
impl Freeze for Ratio
impl RefUnwindSafe for Ratio
impl Send for Ratio
impl Sync for Ratio
impl Unpin for Ratio
impl UnwindSafe for Ratio
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