pub struct Context {
pub config: Config,
pub active_modifiers: [KeyboardModifiers; 4],
pub active_modifier_count: u8,
pub pressed_keymap_index: Option<u16>,
}
Expand description
Sticky Modifiers context.
Fields§
§config: Config
The sticky modifier key configuration.
active_modifiers: [KeyboardModifiers; 4]
Sticky modifiers.
active_modifier_count: u8
Number af active sticky modifiers.
pressed_keymap_index: Option<u16>
Index of the next output resolved once a sticky key has been released.
Implementations§
Trait Implementations§
impl Copy for Context
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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