pub enum SplitPoint73 {
C3,
F3,
C4,
F4,
C5,
F5,
Upper,
Lower,
}Expand description
A keyboard split point as the 73-key models store it: one of six keys, or the whole keyboard as Upper / Lower.
Variants§
Trait Implementations§
Source§impl Clone for SplitPoint73
impl Clone for SplitPoint73
Source§fn clone(&self) -> SplitPoint73
fn clone(&self) -> SplitPoint73
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SplitPoint73
Source§impl Debug for SplitPoint73
impl Debug for SplitPoint73
Source§impl Default for SplitPoint73
impl Default for SplitPoint73
Source§fn default() -> SplitPoint73
fn default() -> SplitPoint73
Returns the “default value” for a type. Read more
impl Eq for SplitPoint73
Source§impl Packed for SplitPoint73
impl Packed for SplitPoint73
Source§const MAX_BITS: u32 = 3
const MAX_BITS: u32 = 3
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 = ControlKind::Selector
const CONTROL: ControlKind = ControlKind::Selector
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 PartialEq for SplitPoint73
impl PartialEq for SplitPoint73
impl StructuralPartialEq for SplitPoint73
Source§impl TryFrom<u8> for SplitPoint73
impl TryFrom<u8> for SplitPoint73
Source§type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Source§fn try_from(value: u8) -> Result<SplitPoint73, ParseError>
fn try_from(value: u8) -> Result<SplitPoint73, ParseError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SplitPoint73
impl RefUnwindSafe for SplitPoint73
impl Send for SplitPoint73
impl Sync for SplitPoint73
impl Unpin for SplitPoint73
impl UnsafeUnpin for SplitPoint73
impl UnwindSafe for SplitPoint73
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> 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.