Appearance
cellpack::format::cpk::ChunkEntry
Module contract · All interfaces
At a glance
pub struct ChunkEntry {
pub first_row: u64,
pub offset: u64,
pub len: u64,
pub meta_len: u64,
pub n_rows: u32,
}One chunk: rows first_row..first_row + n_rows at offset, len bytes of which the first meta_len are its metadata.
Fields and variants
first_row
first_row: u64First row of the chunk in the matrix; chunks tile 0..n_rows in order.
offset
offset: u64Byte offset of the chunk from the start of the file, a multiple of the page size.
len
len: u64Bytes of the whole chunk: metadata, padding and records.
meta_len
meta_len: u64Leading bytes of the chunk that are its metadata (len includes them).
n_rows
n_rows: u32Rows in this chunk, n_cells of its metadata.
Implemented traits
impl Clone for ChunkEntryimpl Debug for ChunkEntryimpl PartialEq for ChunkEntryContract reference
See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.