pub trait ContiguousIteratorExt where
Self: Iterator + Sized,
<Self as Iterator>::Item: PixelColor, {
fn into_pixels(self, bounding_box: &Rectangle) -> IntoPixels<Self>ⓘNotable traits for IntoPixels<I>impl<I> Iterator for IntoPixels<I> where
I: Iterator,
I::Item: PixelColor, type Item = Pixel<I::Item>;
;
}
Expand description
Extension trait for contiguous iterators.
Required methods
fn into_pixels(self, bounding_box: &Rectangle) -> IntoPixels<Self>ⓘNotable traits for IntoPixels<I>impl<I> Iterator for IntoPixels<I> where
I: Iterator,
I::Item: PixelColor, type Item = Pixel<I::Item>;
fn into_pixels(self, bounding_box: &Rectangle) -> IntoPixels<Self>ⓘNotable traits for IntoPixels<I>impl<I> Iterator for IntoPixels<I> where
I: Iterator,
I::Item: PixelColor, type Item = Pixel<I::Item>;
I: Iterator,
I::Item: PixelColor, type Item = Pixel<I::Item>;
Converts a contiguous iterator into a pixel iterator.