pub struct TUI<Interface: TUIInterface> { /* private fields */ }

Implementations

Handles keyboard input, and updates state according to those key presses. Down, Up => move the cursor up or down a line Left, Right => move the cursor to the previous (resp. next) character on the current line ESC, q => exit

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.

Should always be Self

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.