[−][src]Struct epd_waveshare::epd2in9::Display2in9
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 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]
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]
T: Iterator<Item = Pixel<Color>>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,