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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.