[][src]Trait rustyline::completion::Candidate

pub trait Candidate {
    fn display(&self) -> &str;
fn replacement(&self) -> &str; }

A completion candidate.

Required methods

fn display(&self) -> &str

Text to display when listing alternatives.

fn replacement(&self) -> &str

Text to insert in line.

Loading content...

Implementations on Foreign Types

impl Candidate for String[src]

Loading content...

Implementors

impl Candidate for Pair[src]

Loading content...