pub enum ChordResolution<PK> {
Chord(Option<PK>),
Passthrough(PK),
}
Expand description
Whether the pressed key state has resolved to a chord or not.
Variants§
Trait Implementations§
Source§impl<PK: Clone> Clone for ChordResolution<PK>
impl<PK: Clone> Clone for ChordResolution<PK>
Source§fn clone(&self) -> ChordResolution<PK>
fn clone(&self) -> ChordResolution<PK>
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<PK: Debug> Debug for ChordResolution<PK>
impl<PK: Debug> Debug for ChordResolution<PK>
Source§impl<PK: PartialEq> PartialEq for ChordResolution<PK>
impl<PK: PartialEq> PartialEq for ChordResolution<PK>
impl<PK: Copy> Copy for ChordResolution<PK>
impl<PK> StructuralPartialEq for ChordResolution<PK>
Auto Trait Implementations§
impl<PK> Freeze for ChordResolution<PK>where
PK: Freeze,
impl<PK> RefUnwindSafe for ChordResolution<PK>where
PK: RefUnwindSafe,
impl<PK> Send for ChordResolution<PK>where
PK: Send,
impl<PK> Sync for ChordResolution<PK>where
PK: Sync,
impl<PK> Unpin for ChordResolution<PK>where
PK: Unpin,
impl<PK> UnwindSafe for ChordResolution<PK>where
PK: UnwindSafe,
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