pub enum KbZone4 {
V0,
V1,
V2,
V3,
V4,
V5,
V6,
V7,
V8,
V9,
Unknown(u8),
}Expand description
Which of the four keyboard zones a section occupies, as the Stage 3 and 4 store it.
The Stage 3 byte-map docs give the table as an occupancy picture — o--- is the
leftmost zone alone, oooo the whole keyboard. The Stage 3’s piano and synth
zone slots hold only values inside this table, with oooo dominating, so all
three sections share it. Inferred from specimens; not confirmed on hardware.
Unexplained: Stage 4 specimens reach stored value 10. It decodes as Unknown(10)
and survives verbatim.
Variants§
Implementations§
Trait Implementations§
impl Copy for KbZone4
Source§impl Debug for KbZone4
Named variants as their names; an unknown as unknown (raw). ⚠️ The corpus
tripwires match the lowercase spelling — a derived Unknown(raw) slips past
them.
impl Debug for KbZone4
Named variants as their names; an unknown as unknown (raw). ⚠️ The corpus
tripwires match the lowercase spelling — a derived Unknown(raw) slips past
them.
impl Eq for KbZone4
Source§impl Ord for KbZone4
impl Ord for KbZone4
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 KbZone4
impl Packed for KbZone4
Source§const MAX_BITS: u32 = 4
const MAX_BITS: u32 = 4
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 = crate::fields::ControlKind::Selector
const CONTROL: ControlKind = crate::fields::ControlKind::Selector
Which panel control this value is, for a caller building an interface over the
field registry. Read more
Source§type Error = !
type Error = !
Why a bit pattern is not a valid value.
Infallible when every pattern is.Source§impl PartialOrd for KbZone4
impl PartialOrd for KbZone4
impl StructuralPartialEq for KbZone4
Auto Trait Implementations§
impl Freeze for KbZone4
impl RefUnwindSafe for KbZone4
impl Send for KbZone4
impl Sync for KbZone4
impl Unpin for KbZone4
impl UnsafeUnpin for KbZone4
impl UnwindSafe for KbZone4
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.