Enum PendingChordState
pub enum PendingChordState {
Resolved(ChordResolution),
Pending(Option<u8>),
}Expand description
The resolution state of a chorded key.
Variants§
Resolved(ChordResolution)
The key state is resolved (as chord or as passthrough).
Pending(Option<u8>)
The key chord state is pending.
The chord may be pending with the ID of a satisfied chord.
Trait Implementations§
§impl Clone for PendingChordState
impl Clone for PendingChordState
§fn clone(&self) -> PendingChordState
fn clone(&self) -> PendingChordState
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 PendingChordState
§impl Debug for PendingChordState
impl Debug for PendingChordState
impl Eq for PendingChordState
§impl Ord for PendingChordState
impl Ord for PendingChordState
§fn cmp(&self, other: &PendingChordState) -> Ordering
fn cmp(&self, other: &PendingChordState) -> Ordering
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
§impl PartialEq for PendingChordState
impl PartialEq for PendingChordState
§fn eq(&self, other: &PendingChordState) -> bool
fn eq(&self, other: &PendingChordState) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialOrd for PendingChordState
impl PartialOrd for PendingChordState
impl StructuralPartialEq for PendingChordState
Auto Trait Implementations§
impl Freeze for PendingChordState
impl RefUnwindSafe for PendingChordState
impl Send for PendingChordState
impl Sync for PendingChordState
impl Unpin for PendingChordState
impl UnsafeUnpin for PendingChordState
impl UnwindSafe for PendingChordState
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