Trait Hinter
trait Hinter
Hints provider
Associated Types
type Hint: TraitBound { trait_: Path { path: "Hint", id: Id(695), args: None }, generic_params: [], modifier: None } + Outlives("'static")Specific hint type
Provided Methods
fn hint(self: &Self, line: &str, pos: usize, ctx: &Context<'_>) -> Option<<Self as >::Hint>Takes the currently edited
linewith the cursorposition and returns the string that should be displayed orNoneif no hint is available for the text the user currently typed.
Implementors
impl Hinter for ()impl Hinter for HistoryHinter