Skip to main content

CustomKeybinding

Trait CustomKeybinding 

Source
pub trait CustomKeybinding {
    // Required method
    fn new(key_bindings: &KeyBindings) -> Self;
}
Expand description

A custom keybindings compatible struct.

Required Methods§

Source

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".

Implementors§