Enum terminal_cli::AutocompleteResult
[−]
[src]
pub enum AutocompleteResult { None, SingleMatch { line: AutocompleteLine, }, MultipleMatches { lines: Vec<AutocompleteLine>, }, }
Result of the autocomplete request on a given set of commands
Variants
None
No suggestions available
SingleMatch
A single match has been found, the line buffer can be immediately expanded with the new command
Fields of SingleMatch
line: AutocompleteLine |
MultipleMatches
Multiple matches, usually they can be presented to the end user in a column format.
Fields of MultipleMatches
lines: Vec<AutocompleteLine> |
Trait Implementations
impl Debug for AutocompleteResult
[src]
impl Clone for AutocompleteResult
[src]
fn clone(&self) -> AutocompleteResult
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for AutocompleteResult
[src]
fn eq(&self, __arg_0: &AutocompleteResult) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AutocompleteResult) -> bool
[src]
This method tests for !=
.