Skip to main content

KeyMap

Trait KeyMap 

Source
pub trait KeyMap {
    // Required methods
    fn short_help(&self) -> Vec<Binding>;
    fn full_help(&self) -> Vec<Vec<Binding>>;
}
Expand description

Trait for types that can provide key bindings for help display.

Required Methods§

Source

fn short_help(&self) -> Vec<Binding>

Returns bindings for short help display.

Source

fn full_help(&self) -> Vec<Vec<Binding>>

Returns groups of bindings for full help display.

Implementors§