logo
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.

Returns a translated version of the iterator.

Implementors