pub enum ChordSatisfaction {
Unsatisfied,
Satisfied,
}
Expand description
Whether enough keys have been pressed to satisfy a chord.
In the case of non-overlapping chords, a satisfied chord is a resolved chord.
In the case of overlapping chords, e.g. “chord 01” and “chord 012”, pressed “01” is satisfies “chord 01”.
Variants§
Unsatisfied
Status where not enough keys have been pressed to satisfy a chord.
Satisfied
Status where enough keys have been pressed to satisfy a chord.
Trait Implementations§
Source§impl Clone for ChordSatisfaction
impl Clone for ChordSatisfaction
Source§fn clone(&self) -> ChordSatisfaction
fn clone(&self) -> ChordSatisfaction
Returns a copy 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 ChordSatisfaction
impl Debug for ChordSatisfaction
Source§impl PartialEq for ChordSatisfaction
impl PartialEq for ChordSatisfaction
impl Copy for ChordSatisfaction
impl StructuralPartialEq for ChordSatisfaction
Auto Trait Implementations§
impl Freeze for ChordSatisfaction
impl RefUnwindSafe for ChordSatisfaction
impl Send for ChordSatisfaction
impl Sync for ChordSatisfaction
impl Unpin for ChordSatisfaction
impl UnwindSafe for ChordSatisfaction
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