pub struct Pancake { /* private fields */ }
Expand description

Central data structure.

Implementations

Renders a panel to the terminal buffer.

Read a single character from the terminal. In no_delay mode and if no key is pressed, returns None.

Erase the terminal buffer. Call before rendering.

Copy the terminal buffer to the terminal. Call after rendering.

Gracefully shutdown and return terminal to default state.

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.