Enum KeymapEvent
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§
§impl Clone for KeymapEvent
impl Clone for KeymapEvent
§fn clone(&self) -> KeymapEvent
fn clone(&self) -> KeymapEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KeymapEvent
§impl Debug for KeymapEvent
impl Debug for KeymapEvent
impl Eq for KeymapEvent
§impl PartialEq for KeymapEvent
impl PartialEq 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 UnsafeUnpin 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