Enum terminal_cli::AutocompleteOption [−] [src]

pub enum AutocompleteOption {
    Hint {
        hint: String,
    },
    FullCommand {
        line: String,
    },
}

A command's hints to the autocompletition

Variants

Hint

Hint for the missing argument for the end user

Fields

hint
FullCommand

The full line buffer of the suggested command

Fields

line

Trait Implementations

Derived Implementations

impl Clone for AutocompleteOption

fn clone(&self) -> AutocompleteOption

fn clone_from(&mut self, source: &Self)