pub trait Completer {
// Required method
fn complete(&self, input: &StyledBuffer) -> Vec<Suggestion>;
}Expand description
The Completer trait, Implementers of this trait will return a list of suggestions as styled buffers
Required Methods§
Sourcefn complete(&self, input: &StyledBuffer) -> Vec<Suggestion>
fn complete(&self, input: &StyledBuffer) -> Vec<Suggestion>
The action that will return a list of suggestions