pub enum KnobScale {
Linear,
Log,
}Expand description
Value mapping along the arc.
Variants§
Linear
Linear position-to-value mapping (default).
Log
Logarithmic mapping. Requires the range minimum to be positive; non-positive minima fall back to linear.
Trait Implementations§
impl Copy for KnobScale
impl Eq for KnobScale
impl StructuralPartialEq for KnobScale
Auto Trait Implementations§
impl Freeze for KnobScale
impl RefUnwindSafe for KnobScale
impl Send for KnobScale
impl Sync for KnobScale
impl Unpin for KnobScale
impl UnsafeUnpin for KnobScale
impl UnwindSafe for KnobScale
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