Trait rustyline::hint::Hint[][src]

pub trait Hint {
    fn display(&self) -> &str;
fn completion(&self) -> Option<&str>; }

A hint returned by Hinter

Required methods

fn display(&self) -> &str[src]

Text to display when hint is active

fn completion(&self) -> Option<&str>[src]

Text to insert in line when right arrow is pressed

Loading content...

Implementations on Foreign Types

impl Hint for String[src]

Loading content...

Implementors

Loading content...