Skip to content
API REFERENCEUsage guides →

cellpack::scans::Values ​

enum

Module contract · All interfaces

At a glance ​

pub enum Values<'a> {
    Raw(&'a [u8]),
    Dict(Dict<'a>),
    Modes(ModeDict<'a>),
}

Record and chunk decoding: CSR arrays, dense rows and Parts views, plus the workspace sizing those calls need. A record’s values, aligned with its ids.

Fields and variants ​

Raw ​

Raw(&'a [u8])

value_width little-endian bytes per element.

Dict ​

Dict(Dict<'a>)

A dictionary and each element’s position in it.

Modes ​

Modes(ModeDict<'a>)

Mode-coded values; only with IdSpace::Coded ids, where they index the column modes. Source-order views materialize them as Raw.

Implemented traits ​

impl<'a> Clone for Values<'a>
impl<'a> Debug for Values<'a>

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.

Definition