fn compress_all_blocks_sequential(mut self, meta: &MetaData, blocks: impl Iterator<Item=(usize, UncompressedBlock)>) -> UnitResult {
        let mut writer = self.sequential_blocks_compressor(meta);

        // TODO check block order if line order is not unspecified!
        for (index_in_header_increasing_y, block) in blocks {
            writer.compress_block(index_in_header_increasing_y, block)?;
        }

        // TODO debug_assert_eq!(self.is_complete());
        Ok(())
    }
/// Compresses all blocks to the file.
/// The index of the block must be in increasing line order within the header.
/// Obtain iterator with `MetaData::collect_ordered_blocks(...)` or similar methods.
Compresses all blocks to the file.
The index of the block must be in increasing line order within the header.
Obtain iterator with `MetaData::collect_ordered_blocks(...)` or similar methods.
Compresses all blocks to the file . The index of the block must be in increasing line order within the header . Obtain iterator with ` MetaData :: collect_ordered_blocks ( ... ) ` or similar methods .
fn compress_all_blocks_sequential(mut self, meta: &MetaData, blocks: impl Iterator<Item=(usize, UncompressedBlock)>) -> UnitResult {
        let mut writer = self.sequential_blocks_compressor(meta);
        // TODO check block order if line order is not unspecified!
        for (index_in_header_increasing_y, block) in blocks {
            writer.compress_block(index_in_header_increasing_y, block)?;
        }
        // TODO debug_assert_eq!(self.is_complete());
        Ok(())
    }
fn compress_all_blocks_sequential ( mut self , meta : & MetaData , blocks : impl Iterator < Item = ( usize , UncompressedBlock ) > ) -> UnitResult { let mut writer = self . sequential_blocks_compressor ( meta ) ; // TODO check block order if line order is not unspecified! for ( index_in_header_increasing_y , block ) in blocks { writer . compress_block ( index_in_header_increasing_y , block ) ? ; } // TODO debug_assert_eq!(self.is_complete()); Ok ( ( ) ) }
Compresses all blocks to the file.
Compresses all blocks to the file .
mut self
meta
&MetaData
blocks
impl Iterator<Item=(usize, UncompressedBlock)>
mut self
meta
&MetaData
blocks
impl Iterator<Item=(usize, UncompressedBlock)>