pub trait ContiguousIteratorExt: Sized + Iteratorwhere
Self::Item: PixelColor,{
// Required method
fn into_pixels(self, bounding_box: &Rectangle) -> IntoPixels<Self>;
}Expand description
Extension trait for contiguous iterators.
Required Methods§
Sourcefn into_pixels(self, bounding_box: &Rectangle) -> IntoPixels<Self>
fn into_pixels(self, bounding_box: &Rectangle) -> IntoPixels<Self>
Converts a contiguous iterator into a pixel iterator.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.