pub struct TerminalMode<DI> { /* private fields */ }
Expand description

Terminal mode handler

Implementations§

Clear the display

Reset display

Write out data to display. This is a noop in terminal mode.

Print a character to the display

Initialise the display in column mode (i.e. a byte walks down a column of 8 pixels) with column 0 on the left and column (display_width - 1) on the right.

Set the display rotation

Trait Implementations§

A 7x7 font shamelessly borrowed from https://github.com/techninja/MarioChron/

Turn input of type T into a displayable 8x8 bitmap

Create new TerminalMode instance

Release all resources used by TerminalMode

Writes a string slice into this writer, returning whether the write succeeded. Read more
Writes a char into this writer, returning whether the write succeeded. Read more
Glue for usage of the write! macro with implementors of this trait. 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

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.