Struct cfap_screen::Screen

source ·
pub struct Screen<SPI, DC, CS, BUSY, RST, ERR>where
    SPI: FullDuplex<u8, Error = ERR>,
    DC: OutputPin,
    CS: OutputPin,
    BUSY: InputPin,
    RST: OutputPin,
{ /* private fields */ }

Implementations

x_start and x_size are in bytes. y_start and y_size are in pixels.

x_start and x_end are in bytes. y_start and y_end are in pixels. x_start must be less then x_end and y_start less than y_end.

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.