pub struct Context { /* private fields */ }Expand description
Aggregate context.
Implementations§
Trait Implementations§
Source§impl ReportHints for Context
impl ReportHints for Context
Source§fn suppressed_modifiers(&self) -> KeyboardModifiers
fn suppressed_modifiers(&self) -> KeyboardModifiers
Modifier bits to strip from the HID report.
Source§impl SetKeymapContext for Context
impl SetKeymapContext for Context
Source§fn set_keymap_context(&mut self, context: KeymapContext)
fn set_keymap_context(&mut self, context: KeymapContext)
Sets the keymap context.
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 UnsafeUnpin 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