Module question

Module question 

Source
Expand description

A module that contains things related to Questions.

Macros§

completionssmallvec
Creates a SmallVec containing the arguments.

Structs§

ConfirmBuilder
The builder for a confirm prompt.
CustomPromptBuilder
The builder for custom questions.
EditorBuilder
The builder for the Question::editor prompt.
ExpandBuilder
The builder for a expand prompt.
FloatBuilder
The builder for a float prompt.
InputBuilder
The builder for an input prompt.
IntBuilder
The builder for an int prompt.
MultiSelectBuilder
The builder for a multi_select prompt.
OrderSelectBuilder
Prompt that allows the user to organize a list of options.
OrderSelectItem
The representation of each choice in an OrderSelect.
PasswordBuilder
The builder for an password prompt.
Question
A Question that can be asked.
RawSelectBuilder
The builder for a raw_select prompt.
SelectBuilder
The builder for a select prompt.

Enums§

Choice
A possible choice in a list.

Traits§

Prompt
Prompts are a way to write custom Questions.

Type Aliases§

Completionssmallvec
The type which needs to be returned by the auto_complete function.