pub struct PressedModifierKeyState;
Expand description
Unit-like struct, for crate::key::PressedKeyState of ModifierKey.
Implementations§
Source§impl PressedModifierKeyState
impl PressedModifierKeyState
Sourcepub fn handle_event_for(
&mut self,
keymap_index: u16,
key: &ModifierKey,
event: Event<LayerEvent>,
) -> Option<LayerEvent>
pub fn handle_event_for( &mut self, keymap_index: u16, key: &ModifierKey, event: Event<LayerEvent>, ) -> Option<LayerEvent>
Handle the given event for the given key.
Trait Implementations§
Source§impl Clone for PressedModifierKeyState
impl Clone for PressedModifierKeyState
Source§fn clone(&self) -> PressedModifierKeyState
fn clone(&self) -> PressedModifierKeyState
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 PressedModifierKeyState
impl Debug for PressedModifierKeyState
Source§impl From<PressedModifierKeyState> for BasePressedKeyState
impl From<PressedModifierKeyState> for BasePressedKeyState
Source§fn from(pks: PressedModifierKeyState) -> Self
fn from(pks: PressedModifierKeyState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PressedModifierKeyState
impl PartialEq for PressedModifierKeyState
impl Copy for PressedModifierKeyState
impl StructuralPartialEq for PressedModifierKeyState
Auto Trait Implementations§
impl Freeze for PressedModifierKeyState
impl RefUnwindSafe for PressedModifierKeyState
impl Send for PressedModifierKeyState
impl Sync for PressedModifierKeyState
impl Unpin for PressedModifierKeyState
impl UnwindSafe for PressedModifierKeyState
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