Struct tty_form::step::YesNoStep

source ·
pub struct YesNoStep { /* private fields */ }
Expand description

A boolean input which, if true, accepts a text description.

Implementations

Trait Implementations

Perform any post-configuration initialization actions for this step.
Render this step at the specified position and return the height of the rendered content.
Handle the specified input event, optionally returning an instruction for the form.
Retrieve this step’s current help text.
Retrieve this step’s current drawer contents, if applicable.
Retrieves this step’s final WYSIWYG result.
Complete configuration and add this step to the form.

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.