Appearance
cellpack::scans::Dict
Module contract · All interfaces
At a glance
pub struct Dict<'a> { /* private fields */ }Record and chunk decoding: CSR arrays, dense rows and Parts views, plus the workspace sizing those calls need. A record’s dictionary: k distinct values ascending, and each element’s position in it. Debug builds check every rank against k.
Member index
5 of 5 members
kDistinct values in the dictionary.value_widthBytes per entry.entriesThe k entries, value_width little-endian bytes each.ranksEach element’s position in Self::entries .cast_intoThe k entries read as S and converted to T into out[..k] . S must have the chunk’s value width.
Methods and associated constants
k
Distinct values in the dictionary.
value_width
pub fn value_width(&self) -> usizeBytes per entry.
entries
The k entries, value_width little-endian bytes each.
ranks
Each element’s position in Self::entries.
cast_into
The k entries read as S and converted to T into out[..k]. S must have the chunk’s value width.
Implemented traits
Contract 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.