Struct mg::completion::CommandCompleter [] [src]

pub struct CommandCompleter<T: Clone> { /* fields omitted */ }

A command completer.

Methods

impl<T: Clone + EnumMetaData> CommandCompleter<T>
[src]

[src]

Create a new command completer.

Trait Implementations

impl<T: Clone> Completer for CommandCompleter<T>
[src]

[src]

From the user input, return the completion results. The results are on two columns, hence the 2-tuple. Read more

[src]

The number of columns of the completer.

[src]

The number of column.

[src]

From the selected text entry, return the text that should be written in the text input.

[src]

Set the column to use as the result of a selected text entry.