bind

Function bind 

Source
pub fn bind<A>(keystrokes: &str, action: A, context: Option<&str>) -> KeyBinding
where A: Action,
Expand description

Helper to create a single binding