Struct dialoguer::Checkboxes

source ·
pub struct Checkboxes<'a> { /* private fields */ }
Expand description

Renders a multi select checkbox menu.

Implementations

Creates a new checkbox object.

Sets a theme other than the default one.

Sets the clear behavior of the checkbox menu.

The default is to clear the checkbox menu.

Add a single item to the selector.

Adds multiple items to the selector.

Prefaces the menu with a prompt.

When a prompt is set the system also prints out a confirmation after the selection.

Enables user interaction and returns the result.

The user can select the items with the space bar and on enter the selected items will be returned.

Like interact but allows a specific terminal to be set.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.