KeybindParser

Trait KeybindParser 

Source
pub trait KeybindParser: Send + Sync {
    // Required method
    fn parse(&self, content: &str) -> Result<Vec<Keybind>, ParseError>;
}
Expand description

Trait for parsing keybind configurations

Required Methods§

Source

fn parse(&self, content: &str) -> Result<Vec<Keybind>, ParseError>

Parse keybind configuration from content

Implementors§