pub enum PendingChordState {
Resolved(ChordResolution),
Pending(Option<ChordId>),
}
Expand description
The resolution state of a chorded key.
Variants§
Resolved(ChordResolution)
The key state is resolved (as chord or as passthrough).
Pending(Option<ChordId>)
The key chord state is pending.
The chord may be pending with the ID of a satisfied chord.
Trait Implementations§
Source§impl Clone for PendingChordState
impl Clone for PendingChordState
Source§fn clone(&self) -> PendingChordState
fn clone(&self) -> PendingChordState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PendingChordState
impl Debug for PendingChordState
Source§impl Ord for PendingChordState
impl Ord for PendingChordState
Source§fn cmp(&self, other: &PendingChordState) -> Ordering
fn cmp(&self, other: &PendingChordState) -> Ordering
1.21.0 · 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
Source§impl PartialEq for PendingChordState
impl PartialEq for PendingChordState
Source§impl PartialOrd for PendingChordState
impl PartialOrd for PendingChordState
impl Copy for PendingChordState
impl Eq 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 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