Struct mg::completion::SettingCompleter
[−]
[src]
pub struct SettingCompleter<T> { /* fields omitted */ }
A setting completer.
Methods
impl<T: EnumMetaData + SettingCompletion> SettingCompleter<T>
[src]
Trait Implementations
impl<T> Completer for SettingCompleter<T>
[src]
fn complete_result(&self, value: &str) -> String
[src]
From the selected text entry, return the text that should be written in the text input.
fn completions(&mut self, input: &str) -> Vec<CompletionResult>
[src]
From the user input, return the completion results. The results are on two columns, hence the 2-tuple. Read more
fn columns(&self) -> Vec<Column>
[src]
The number of columns of the completer.
fn column_count(&self) -> usize
[src]
The number of column.
fn text_column(&self) -> i32
[src]
Set the column to use as the result of a selected text entry.