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

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

Terminal mode handler

Methods

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

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

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

Create new TerminalMode instance

Release all resources used by TerminalMode

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

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

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

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

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

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

Blanket Implementations

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]