pub struct GraphicsMode<DI>where
    DI: DisplayInterface,
{ /* private fields */ }
Expand description

Graphics mode handler

Implementations§

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

Reset display

Write out data to display

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.

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

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

Set the display rotation

Trait Implementations§

Create new GraphicsMode instance

Release all resources used by GraphicsMode

Draw an object from an iterator over its pixels

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.