pub struct KeybindingMap { /* private fields */ }Expand description
Maps key combinations to actions.
Implementations§
Source§impl KeybindingMap
impl KeybindingMap
Sourcepub fn from_config(user_bindings: &HashMap<String, Vec<String>>) -> Self
pub fn from_config(user_bindings: &HashMap<String, Vec<String>>) -> Self
Build a keybinding map from user config overlaid on defaults.
Sourcepub fn from_full_config(config: &Config) -> Self
pub fn from_full_config(config: &Config) -> Self
Build a keybinding map from config plus the active clicker profile.
Auto Trait Implementations§
impl Freeze for KeybindingMap
impl RefUnwindSafe for KeybindingMap
impl Send for KeybindingMap
impl Sync for KeybindingMap
impl Unpin for KeybindingMap
impl UnsafeUnpin for KeybindingMap
impl UnwindSafe for KeybindingMap
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