Struct requestty_ui::Input[][src]

pub struct Input<P, B: Backend> { /* fields omitted */ }
Expand description

A ui runner which implements the render cycle.

It renders and processes events with the help of a type that implements Prompt.

See run for more information

Implementations

Creates a new Input. This won’t do anything until it is run.

Hides the cursor while running the input. This won’t do anything until it is run.

Display the prompt and process events until the user presses Enter.

After the user presses Enter, validate will be called.

Trait Implementations

Formats the value using the given formatter. Read more

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

Performs the conversion.

Performs the conversion.

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.