Enum PotTaper
pub enum PotTaper {
A,
B,
C,
}Expand description
Potentiometer taper type.
Following the Asian/European convention:
- A (Audio/Logarithmic): Slow start, fast finish. Used for volume controls.
- B (Linear): Proportional change. Used for tone/blend controls.
- C (Reverse Log): Fast start, slow finish. Rare, for specific compensation.
Note: Some American manufacturers flip A and B. Always check datasheets.
Variants§
A
Audio/Logarithmic taper - slow at start, fast at end (volume controls)
B
Linear taper - proportional change (default for most controls)
C
Reverse logarithmic - fast at start, slow at end (rare)
Implementations§
Trait Implementations§
impl Copy for PotTaper
impl Eq for PotTaper
impl StructuralPartialEq for PotTaper
Auto Trait Implementations§
impl Freeze for PotTaper
impl RefUnwindSafe for PotTaper
impl Send for PotTaper
impl Sync for PotTaper
impl Unpin for PotTaper
impl UnsafeUnpin for PotTaper
impl UnwindSafe for PotTaper
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.