pub struct Context { /* private fields */ }
Expand description
Context for Key.
Implementations§
Source§impl Context
impl Context
Sourcepub const fn from_config(config: Config) -> Context
pub const fn from_config(config: Config) -> Context
Constructs a context from the given config
Sourcepub fn update_keymap_context(&mut self, _: &KeymapContext)
pub fn update_keymap_context(&mut self, _: &KeymapContext)
Updates the context with the given keymap context.
Trait Implementations§
impl Copy for Context
impl StructuralPartialEq 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