Trait embedded_graphics::iterator::PixelIteratorExt [−][src]
pub trait PixelIteratorExt<C> where
Self: Sized,
C: PixelColor, { fn draw<D>(self, target: &mut D) -> Result<(), D::Error>
where
D: DrawTarget<Color = C>; fn translated(self, offset: Point) -> Translated<Self>ⓘ; }Notable traits for Translated<I>
impl<I, C> Iterator for Translated<I> where
I: Iterator<Item = Pixel<C>>,
C: PixelColor, type Item = I::Item;
Expand description
Extension trait for pixel iterators.
Required methods
Draws the pixel iterator to a draw target.
fn translated(self, offset: Point) -> Translated<Self>ⓘNotable traits for Translated<I>
impl<I, C> Iterator for Translated<I> where
I: Iterator<Item = Pixel<C>>,
C: PixelColor, type Item = I::Item;
[src]
fn translated(self, offset: Point) -> Translated<Self>ⓘNotable traits for Translated<I>
impl<I, C> Iterator for Translated<I> where
I: Iterator<Item = Pixel<C>>,
C: PixelColor, type Item = I::Item;
[src]Returns a translated version of the iterator.
Implementors
fn translated(self, offset: Point) -> Translated<Self>ⓘNotable traits for Translated<I>
impl<I, C> Iterator for Translated<I> where
I: Iterator<Item = Pixel<C>>,
C: PixelColor, type Item = I::Item;
[src]