Struct linefeed::complete::DummyCompleter
[−]
[src]
pub struct DummyCompleter;
Completer
type that performs no completion
This is the default Completer
for a new Reader
instance.
Trait Implementations
impl<Term: Terminal> Completer<Term> for DummyCompleter
[src]
fn complete(
&self,
_word: &str,
_reader: &Reader<Term>,
_start: usize,
_end: usize
) -> Option<Vec<Completion>>
&self,
_word: &str,
_reader: &Reader<Term>,
_start: usize,
_end: usize
) -> Option<Vec<Completion>>
Returns the set of possible completions for the prefix word
.
fn word_start(&self, line: &str, end: usize, reader: &Reader<Term>) -> usize
Returns the starting position of the word under the cursor. Read more
fn quote<'a>(&self, word: &'a str) -> Cow<'a, str>
Quotes a possible completion for insertion into input. Read more
fn unquote<'a>(&self, word: &'a str) -> Cow<'a, str>
Unquotes a piece of user input before searching for completions. Read more