pub enum KeymapEvent {
Callback(KeymapCallback),
ResolvedKeyOutput {
keymap_index: u16,
key_output: KeyOutput,
},
}
Expand description
Events related to the keymap.
Variants§
Callback(KeymapCallback)
Callback event (emitted by callback key).
ResolvedKeyOutput
A pressed key resolved to a state with this key output.
Trait Implementations§
Source§impl Clone for KeymapEvent
impl Clone for KeymapEvent
Source§fn clone(&self) -> KeymapEvent
fn clone(&self) -> KeymapEvent
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 KeymapEvent
impl Debug for KeymapEvent
Source§impl PartialEq for KeymapEvent
impl PartialEq for KeymapEvent
impl Copy for KeymapEvent
impl Eq for KeymapEvent
impl StructuralPartialEq for KeymapEvent
Auto Trait Implementations§
impl Freeze for KeymapEvent
impl RefUnwindSafe for KeymapEvent
impl Send for KeymapEvent
impl Sync for KeymapEvent
impl Unpin for KeymapEvent
impl UnwindSafe for KeymapEvent
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