Struct ssd1306::mode::terminal::TerminalMode [] [src]

pub struct TerminalMode<DI> { /* fields omitted */ }

Terminal mode handler

Methods

impl<DI> TerminalMode<DI> where
    DI: DisplayInterface
[src]

[src]

Clear the display

[src]

Reset display

[src]

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

[src]

Print a character to the display

[src]

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.

[src]

Set the display rotation

Trait Implementations

impl<DI> CharacterBitmap<char> for TerminalMode<DI> where
    DI: DisplayInterface
[src]

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

[src]

Turn input of type T into a displayable 8x8 bitmap

impl<DI> DisplayModeTrait<DI> for TerminalMode<DI> where
    DI: DisplayInterface
[src]

[src]

Create new TerminalMode instance

[src]

Release all resources used by TerminalMode

impl<DI> Write for TerminalMode<DI> where
    DI: DisplayInterface
[src]

[src]

Writes a slice of bytes into this writer, returning whether the write succeeded. Read more

1.1.0
[src]

Writes a [char] into this writer, returning whether the write succeeded. Read more

1.0.0
[src]

Glue for usage of the [write!] macro with implementors of this trait. Read more

Auto Trait Implementations

impl<DI> Send for TerminalMode<DI> where
    DI: Send

impl<DI> Sync for TerminalMode<DI> where
    DI: Sync