Trait embedded_graphics::Drawing [−][src]
pub trait Drawing<C> where
C: PixelColor + Clone, { fn draw<T>(&mut self, item_pixels: T)
where
T: Iterator<Item = Pixel<C>>; }
The main trait of this crate. All graphics objects must implement it.
Required Methods
fn draw<T>(&mut self, item_pixels: T) where
T: Iterator<Item = Pixel<C>>,
T: Iterator<Item = Pixel<C>>,
Draw an object from an iterator over its pixels