[−][src]Trait epd_waveshare::graphics::Display
Required methods
fn buffer(&self) -> &[u8]
Returns the buffer
fn get_mut_buffer(&mut self) -> &mut [u8]
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: Color)
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>>,
T: Iterator<Item = Pixel<Color>>,
Helperfunction for the Embedded Graphics draw trait
Becomes uneccesary when const_generics become stablised
Implementors
impl Display for Display1in54
[src]
fn buffer(&self) -> &[u8]
[src]
fn get_mut_buffer(&mut self) -> &mut [u8]
[src]
fn set_rotation(&mut self, rotation: DisplayRotation)
[src]
fn rotation(&self) -> DisplayRotation
[src]
fn clear_buffer(&mut self, background_color: Color)
[src]
fn draw_helper<T>(&mut self, width: u32, height: u32, item_pixels: T) where
T: Iterator<Item = Pixel<Color>>,
[src]
T: Iterator<Item = Pixel<Color>>,
impl Display for Display2in9
[src]
fn buffer(&self) -> &[u8]
[src]
fn get_mut_buffer(&mut self) -> &mut [u8]
[src]
fn set_rotation(&mut self, rotation: DisplayRotation)
[src]
fn rotation(&self) -> DisplayRotation
[src]
fn clear_buffer(&mut self, background_color: Color)
[src]
fn draw_helper<T>(&mut self, width: u32, height: u32, item_pixels: T) where
T: Iterator<Item = Pixel<Color>>,
[src]
T: Iterator<Item = Pixel<Color>>,
impl Display for Display4in2
[src]
fn buffer(&self) -> &[u8]
[src]
fn get_mut_buffer(&mut self) -> &mut [u8]
[src]
fn set_rotation(&mut self, rotation: DisplayRotation)
[src]
fn rotation(&self) -> DisplayRotation
[src]
fn clear_buffer(&mut self, background_color: Color)
[src]
fn draw_helper<T>(&mut self, width: u32, height: u32, item_pixels: T) where
T: Iterator<Item = Pixel<Color>>,
[src]
T: Iterator<Item = Pixel<Color>>,
impl<'a> Display for VarDisplay<'a>
[src]
fn buffer(&self) -> &[u8]
[src]
fn get_mut_buffer(&mut self) -> &mut [u8]
[src]
fn set_rotation(&mut self, rotation: DisplayRotation)
[src]
fn rotation(&self) -> DisplayRotation
[src]
fn clear_buffer(&mut self, background_color: Color)
[src]
fn draw_helper<T>(&mut self, width: u32, height: u32, item_pixels: T) where
T: Iterator<Item = Pixel<Color>>,
[src]
T: Iterator<Item = Pixel<Color>>,