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

pub struct Display2in9 { /* fields omitted */ }

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

impl Display for Display2in9[src]

fn clear_buffer(&mut self, background_color: Color)[src]

Clears the buffer of the display with the chosen background color

fn draw_helper<T>(&mut self, width: u32, height: u32, item_pixels: T) where
    T: Iterator<Item = Pixel<Color>>, 
[src]

Helperfunction for the Embedded Graphics draw trait Read more

impl Default for Display2in9[src]

impl Drawing<Color> for Display2in9[src]

Auto Trait Implementations

impl Send for Display2in9

impl Sync for Display2in9

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

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]