[−][src]Trait epd_waveshare_uart::graphics::Display
Required methods
fn buffer(&self) -> &[EpdColor]
Returns the buffer
fn get_mut_buffer(&mut self) -> &mut [EpdColor]
Returns a mutable buffer
fn set_rotation(&mut self, rotation: DisplayRotation)
Sets the rotation of the display
fn rotation(&self) -> DisplayRotation
Get the current rotation of the display
Provided methods
fn clear_buffer(&mut self, background_color: EpdColor)
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: IntoIterator<Item = Pixel<EpdColor>>,
T: IntoIterator<Item = Pixel<EpdColor>>,
Helperfunction for the Embedded Graphics draw trait
Becomes uneccesary when const_generics become stablised