fn to_rows<P>(pixels: P) -> RowIterator<P>
where
    P: Iterator<Item = Pixel<Rgb565>>,
{
    RowIterator::<P> {
        pixels,
        x_left: 0,
        x_right: 0,
        y: 0,
        colors: RowColors::new(),
        first_pixel: true,
    }
}
/// Batch the pixels into Pixel Rows, which are contiguous pixels on the same row.
/// P can be any Pixel Iterator (e.g. a rectangle).
Batch the pixels into Pixel Rows, which are contiguous pixels on the same row.
P can be any Pixel Iterator .
Batch the pixels into Pixel Rows which are contiguous pixels on the same row . P can be any Pixel Iterator .
fn to_rows<P>(pixels: P) -> RowIterator<P>
where
    P: Iterator<Item = Pixel<Rgb565>>,
{
    RowIterator::<P> {
        pixels,
        x_left: 0,
        x_right: 0,
        y: 0,
        colors: RowColors::new(),
        first_pixel: true,
    }
}
fn to_rows < P > ( pixels : P ) -> RowIterator < P > where P : Iterator < Item = Pixel < Rgb565 > > , { RowIterator :: < P > { pixels , x_left : 0 , x_right : 0 , y : 0 , colors : RowColors :: new ( ) , first_pixel : true , } }
Batch the pixels into Pixel Rows, which are contiguous pixels on the same row.
Batch the pixels into Pixel Rows which are contiguous pixels on the same row .
pixels
P
pixels
P