pub trait DynKeyMap<B: Backend + 'static> {
// Required methods
fn keybinds(&self) -> &'static [KeyBind<B>];
fn handle(&mut self, event: &B::Event) -> bool;
}Expand description
A dyn compatible equivalent to KeyMap
pub trait DynKeyMap<B: Backend + 'static> {
// Required methods
fn keybinds(&self) -> &'static [KeyBind<B>];
fn handle(&mut self, event: &B::Event) -> bool;
}A dyn compatible equivalent to KeyMap