Enum Scale
#[repr(u8)]pub enum Scale {
A1R1 = 0,
A1o2R2 = 1,
A1o4R4 = 2,
A1o8R8 = 3,
A1o16R16 = 4,
A1o32R32 = 5,
A1o64R64 = 6,
A1o128R128 = 7,
}Variants§
A1R1 = 0
Argument multiplied by 1, result multiplied by 1
A1o2R2 = 1
Argument multiplied by 1/2, result multiplied by 2
A1o4R4 = 2
Argument multiplied by 1/4, result multiplied by 4
A1o8R8 = 3
Argument multiplied by 1/8, result multiplied by 8
A1o16R16 = 4
Argument multiplied by 1/16, result multiplied by 16
A1o32R32 = 5
Argument multiplied by 1/32, result multiplied by 32
A1o64R64 = 6
Argument multiplied by 1/64, result multiplied by 64
A1o128R128 = 7
Argument multiplied by 1/128, result multiplied by 128
Implementations§
Trait Implementations§
impl Copy for Scale
impl Eq for Scale
§impl Ord for Scale
impl Ord for Scale
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Scale
impl PartialOrd for Scale
impl StructuralPartialEq for Scale
Auto Trait Implementations§
impl Freeze for Scale
impl RefUnwindSafe for Scale
impl Send for Scale
impl Sync for Scale
impl Unpin for Scale
impl UnsafeUnpin for Scale
impl UnwindSafe for Scale
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