Trait embedded_graphics::iterator::ContiguousIteratorExt [−][src]
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>;
[src]
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>;
[src]Converts a contiguous iterator into a pixel iterator.
Implementors
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>;
[src]