Enum shi::command::Completion [−][src]
Expand description
Completion represents the result of an autocompletion for command arguments.
There are two cases that case occur:
PartialArgCompletion
- The last argument is partially typed and can be completed to full. PartialArgCompletion contains the suffix which, when append to the partial argument, provides the full argument.Possibilities
- The arguments are complete, and there are guesses as to what the next argument could be.Nothing
- There are no completions to provide, either because there is no autocompletion, or because the command and its arguments are complete already.
Variants
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.