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