Trait Highlighter
pub trait Highlighter<Input, Theme = Theme> {
// Required methods
fn id(&self) -> &str;
fn highlight(&self, input: Input, theme: &Theme) -> Style;
}Expand description
A type that describes how to highlight an Input
with some Style.