#[repr(u8)]pub enum MorseMode {
PermissiveHold = 0,
HoldOnOtherPress = 1,
Normal = 2,
}Expand description
Mode for morse key behavior
Variants§
PermissiveHold = 0
Same as QMK’s permissive hold: https://docs.qmk.fm/tap_hold#tap-or-hold-decision-modes When another key is pressed and released during the current morse key is held, the hold action of current morse key will be triggered
HoldOnOtherPress = 1
Trigger hold immediately if any other non-morse key is pressed when the current morse key is held
Normal = 2
Normal mode, the decision is made when timeout
Trait Implementations§
impl Copy for MorseMode
impl Eq for MorseMode
impl StructuralPartialEq for MorseMode
Auto Trait Implementations§
impl Freeze for MorseMode
impl RefUnwindSafe for MorseMode
impl Send for MorseMode
impl Sync for MorseMode
impl Unpin for MorseMode
impl UnwindSafe for MorseMode
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)