[][src]Trait embedded_layout::prelude::DisplayArea

pub trait DisplayArea<C> where
    C: PixelColor
{ fn display_area(&self) -> Rectangle; }

Helper trait to retrieve display area as a Rectangle.

Required methods

fn display_area(&self) -> Rectangle

Return the display area as a Rectangle

This method is provided mainly to make it simpler to align to edges of the display.

Loading content...

Implementors

impl<C, T> DisplayArea<C> for T where
    C: PixelColor,
    T: DrawTarget<C>, 
[src]

Loading content...