Struct epd_waveshare::epd2in9::Display2in9[][src]

pub struct Display2in9 { /* fields omitted */ }
Expand description

Display with Fullsize buffer for use with the 2in9 EPD

Can also be manuall constructed: buffer: [DEFAULT_BACKGROUND_COLOR.get_byte_value(); WIDTH / 8 * HEIGHT]

Trait Implementations

Returns the “default value” for a type. Read more

Returns the buffer

Returns a mutable buffer

Sets the rotation of the display

Get the current rotation of the display

Clears the buffer of the display with the chosen background color

Helperfunction for the Embedded Graphics draw trait Read more

The pixel color type the targetted display supports.

Error type to return when a drawing operation fails. Read more

Draw individual pixels to the display without a defined order. Read more

Fill a given area with an iterator providing a contiguous stream of pixel colors. Read more

Fill a given area with a solid color. Read more

Fill the entire display with a solid color. Read more

Returns the size of the bounding box.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Returns the bounding box.

Performs the conversion.

Performs the conversion.

Casts the value.

Casts the value.

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.

Casts the value.

Casts the value.