pub struct Pan { /* private fields */ }Expand description
A stereo position in a six-bit slot.
⚠️ The mapping is not established: over the Stage 4 factory programs the slot’s mode is 0 rather than the mid-scale 32 a centre-encoded pan would show, so this makes no claim about where centre sits and prints the stored value. It carries only that the control is a pan. Inferred from specimens; not confirmed on hardware.
Implementations§
Trait Implementations§
impl Copy for Pan
Source§impl Debug for Pan
The stored byte. There is no published transform to the unit, so printing one
would invent precision the file does not carry.
impl Debug for Pan
The stored byte. There is no published transform to the unit, so printing one would invent precision the file does not carry.
impl Eq for Pan
Source§impl Ord for Pan
impl Ord for Pan
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl Packed for Pan
impl Packed for Pan
Source§const MAX_BITS: u32 = 6
const MAX_BITS: u32 = 6
Bits the widest value of this type occupies. Used to check statically that it
fits its slot.
Source§const DECODE_BITS: u32 = u8::BITS
const DECODE_BITS: u32 = u8::BITS
Widest slot this type can decode without losing bits on re-encoding. Read more
Source§const CONTROL: ControlKind
const CONTROL: ControlKind
Which panel control this value is, for a caller building an interface over the
field registry. Read more
Source§type Error = ParseError
type Error = ParseError
Why a bit pattern is not a valid value.
Infallible when every pattern is.Source§impl PartialOrd for Pan
impl PartialOrd for Pan
impl StructuralPartialEq for Pan
Auto Trait Implementations§
impl Freeze for Pan
impl RefUnwindSafe for Pan
impl Send for Pan
impl Sync for Pan
impl Unpin for Pan
impl UnsafeUnpin for Pan
impl UnwindSafe for Pan
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.