fn to_blocks<R>(rows: R) -> BlockIterator<R>
where
    R: Iterator<Item = PixelRow>,
{
    BlockIterator::<R> {
        rows,
        x_left: 0,
        x_right: 0,
        y_top: 0,
        y_bottom: 0,
        colors: BlockColors::new(),
        first_row: true,
    }
}
/// Batch the Pixel Rows into Pixel Blocks, which are contiguous Pixel Rows with the same start and end column number
/// R can be any Pixel Row Iterator.
Batch the Pixel Rows into Pixel Blocks, which are contiguous Pixel Rows with the same start and end column number
R can be any Pixel Row Iterator.
Batch the Pixel Rows into Pixel Blocks which are contiguous Pixel Rows with the same start and end column number R can be any Pixel Row Iterator .
fn to_blocks<R>(rows: R) -> BlockIterator<R>
where
    R: Iterator<Item = PixelRow>,
{
    BlockIterator::<R> {
        rows,
        x_left: 0,
        x_right: 0,
        y_top: 0,
        y_bottom: 0,
        colors: BlockColors::new(),
        first_row: true,
    }
}
fn to_blocks < R > ( rows : R ) -> BlockIterator < R > where R : Iterator < Item = PixelRow > , { BlockIterator :: < R > { rows , x_left : 0 , x_right : 0 , y_top : 0 , y_bottom : 0 , colors : BlockColors :: new ( ) , first_row : true , } }
Batch the Pixel Rows into Pixel Blocks, which are contiguous Pixel Rows with the same start and end column number
R can be any Pixel Row Iterator.
Batch the Pixel Rows into Pixel Blocks which are contiguous Pixel Rows with the same start and end column number R can be any Pixel Row Iterator .
rows
R
rows
R