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

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

A hint returned by Hinter

Required methods

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

Text to display when hint is active

pub 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...