Struct ssd1306::mode::graphics::GraphicsMode [] [src]

pub struct GraphicsMode<DI> where
    DI: DisplayInterface
{ /* fields omitted */ }

Graphics mode handler

Methods

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

[src]

Clear the display buffer. You need to call disp.flush() for any effect on the screen

[src]

Reset display

[src]

Write out data to display

[src]

Turn a pixel on or off. A non-zero value is treated as on, 0 as off. If the X and Y coordinates are out of the bounds of the display, this method call is a noop.

[src]

Display is set up in column mode, i.e. a byte walks down a column of 8 pixels from column 0 on the left, to column n on the right

[src]

Get display dimensions, taking into account the current rotation of the display

[src]

Set the display rotation

Trait Implementations

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

[src]

Create new GraphicsMode instance

[src]

Release all resources used by GraphicsMode

impl<DI> Drawing for GraphicsMode<DI> where
    DI: DisplayInterface
[src]

[src]

Draw an object from an iterator over its pixels

Auto Trait Implementations

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

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