pub trait IntoPixelStream {
type Pixel: Pixel;
type PixelIter: Iterator<Item = Self::Pixel>;
// Required method
fn into_pixel_stream(self) -> PixelStream<Self::Pixel, Self::PixelIter>;
}Expand description
Converts an iterator of pixels into a pixel stream, usable by the driver’s write function.
Required Associated Types§
Required Methods§
Sourcefn into_pixel_stream(self) -> PixelStream<Self::Pixel, Self::PixelIter>
fn into_pixel_stream(self) -> PixelStream<Self::Pixel, Self::PixelIter>
Converts the current object into a pixel stream.