Module type_aliases

Source
Expand description

General type aliases.

Type Aliasesยง

Completer
Type alias to represent the function used to retrieve an optional autocompletion suggestion. The function receives the current input and should return the suggestion (if any) that will replace the current input.
Filter
Type alias to represent the function used to filter options.
Suggester
Type alias to represent the function used to retrieve text input suggestions. The function receives the current input and should return a collection of strings containing the suggestions to be made to the user.