Trait rustyline::hint::Hinter [−][src]
Hints provider
Provided methods
fn hint(&self, line: &str, pos: usize, ctx: &Context<'_>) -> Option<String>
[src]
Takes the currently edited line
with the cursor pos
ition and
returns the string that should be displayed or None
if no hint is available for the text the user currently typed.