embedded_graphics::image

Trait IntoPixelIter

Source
pub trait IntoPixelIter<C>
where C: PixelColor + From<<C as PixelColor>::Raw>,
{ type PixelIterator: Iterator<Item = Pixel<C>>; // Required method fn pixel_iter(self) -> Self::PixelIterator; }
Expand description

Conversion into an iterator over the pixels of the image.

Required Associated Types§

Source

type PixelIterator: Iterator<Item = Pixel<C>>

Iterator over pixels in the image

Required Methods§

Source

fn pixel_iter(self) -> Self::PixelIterator

Get an iterator over the pixels of the image

Implementors§

Source§

impl<'a, 'b, C, BO> IntoPixelIter<C> for &'a ImageRaw<'b, C, BO>
where C: PixelColor + From<<C as PixelColor>::Raw>, BO: ByteOrder, RawDataIter<'b, C::Raw, BO>: Iterator<Item = C::Raw>,

Source§

type PixelIterator = ImageRawIterator<'a, 'b, C, BO>