[−][src]Trait embedded_graphics_core::iterator::IntoPixels
Produce an iterator over all pixels in an object.
This trait is implemented for references to all styled items in embedded-graphics, therefore does not consume the original item.
Associated Types
type Color: PixelColor
[src]
The type of color for each pixel produced by the iterator returned from into_pixels
.
type Iter: Iterator<Item = Pixel<Self::Color>>
[src]
The iterator produced when calling into_pixels
.
Required methods
pub fn into_pixels(self) -> Self::Iter
[src]
Create an iterator over all pixels in the object.
The iterator may return pixels in any order, however it may be beneficial for performance reasons to return them starting at the top left corner in row-first order.