Trait input::CustomKeybinding
source · pub trait CustomKeybinding {
// Required method
fn new(key_bindings: &KeyBindings) -> Self;
}
Expand description
A custom keybindings compatible struct.
Required Methods§
sourcefn new(key_bindings: &KeyBindings) -> Self
fn new(key_bindings: &KeyBindings) -> Self
Create a new instance from the configuration keybindings.