pub trait Hinter {
type Hint: Hint + 'static;
fn hint(&self, line: &str, pos: usize, ctx: &Context<'_>) -> Option<Self::Hint> { ... }
}
Expand description
Hints provider
pub trait Hinter {
type Hint: Hint + 'static;
fn hint(&self, line: &str, pos: usize, ctx: &Context<'_>) -> Option<Self::Hint> { ... }
}
Hints provider