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

A completion candidate.

Required Methods§

Text to display when listing alternatives.

Text to insert in line.

Implementations on Foreign Types§

Implementors§