Skip to content
API REFERENCEUsage guides →

cellpack::scans::Ranks ​

enum

Module contract · All interfaces

At a glance ​

pub enum Ranks<'a> {
    One,
    U8(&'a [u8]),
    U32(&'a [u32]),
}

Record and chunk decoding: CSR arrays, dense rows and Parts views, plus the workspace sizing those calls need. Dictionary positions of a record’s values.

Fields and variants ​

One ​

One

A one-entry dictionary: every value is entry 0.

U8 ​

U8(&'a [u8])

Small dictionaries: a rank is its own symbol, so no escape bits.

U32 ​

U32(&'a [u32])

Larger dictionaries: ranks are unpacked into u32 first.

Implemented traits ​

impl<'a> Clone for Ranks<'a>
impl<'a> Debug for Ranks<'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