pub struct ModifierKeyState { /* private fields */ }Expand description
Implementations§
Source§impl ModifierKeyState
impl ModifierKeyState
Sourcepub fn handle_event(
&mut self,
keymap_index: u16,
event: Event<LayerEvent>,
key: &ModifierKey,
) -> Option<LayerEvent>
pub fn handle_event( &mut self, keymap_index: u16, event: Event<LayerEvent>, key: &ModifierKey, ) -> Option<LayerEvent>
Handle the given event for the given key.
Trait Implementations§
Source§impl Clone for ModifierKeyState
impl Clone for ModifierKeyState
Source§fn clone(&self) -> ModifierKeyState
fn clone(&self) -> ModifierKeyState
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 moreSource§impl Debug for ModifierKeyState
impl Debug for ModifierKeyState
Source§impl Default for ModifierKeyState
impl Default for ModifierKeyState
Source§impl PartialEq for ModifierKeyState
impl PartialEq for ModifierKeyState
Source§fn eq(&self, other: &ModifierKeyState) -> bool
fn eq(&self, other: &ModifierKeyState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ModifierKeyState
impl StructuralPartialEq for ModifierKeyState
Auto Trait Implementations§
impl Freeze for ModifierKeyState
impl RefUnwindSafe for ModifierKeyState
impl Send for ModifierKeyState
impl Sync for ModifierKeyState
impl Unpin for ModifierKeyState
impl UnsafeUnpin for ModifierKeyState
impl UnwindSafe for ModifierKeyState
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