create_bindings

Function create_bindings 

Source
pub fn create_bindings<A: Action + Clone>(
    mappings: &[(&str, A)],
    context: Option<&str>,
) -> Vec<KeyBinding>
Expand description

Helper to create a list of key bindings from action-keystroke pairs