[][src]Function piet_embedded_graphics::batch::to_rows

Important traits for RowIterator<P>
fn to_rows<P>(pixels: P) -> RowIterator<P> where
    P: Iterator<Item = Pixel<Rgb565>>, 

Batch the pixels into Pixel Rows, which are contiguous pixels on the same row. P can be any Pixel Iterator (e.g. a rectangle).