Trait keybindings::InputBindings
source · pub trait InputBindings<Key: InputKey, S: Step<Key>> {
// Required method
fn setup(&self, machine: &mut ModalMachine<Key, S>);
}
Expand description
A collection of bindings that can be added to a ModalMachine.
Required Methods§
sourcefn setup(&self, machine: &mut ModalMachine<Key, S>)
fn setup(&self, machine: &mut ModalMachine<Key, S>)
Add new bindings to a ModalMachine instance.