Skip to content
API REFERENCEUsage guides →

cellpack::loader::RowFormat ​

enum

Module contract · All interfaces

At a glance ​

#[repr(u8)]pub enum RowFormat {
    Auto = 0,
    Csr = 1,
    Dense = 2,
}

The row format a process function receives.

Fields and variants ​

Auto ​

Auto = 0

CSR records as CSR rows; dense records use internal throughput crossovers. A compacted cached image reaches this format as CSR.

Csr ​

Csr = 1

Every record as a CSR row (dense records: their non-zeros).

Dense ​

Dense = 2

Every record as a dense row.

Member index ​

2 of 2 members

  • codeThe code stored in profiles and plan identities.
  • from_codeThe format of code , or none for a value this version does not know.

Methods and associated constants ​

code ​

pub fn code(self) -> u8

The code stored in profiles and plan identities.

from_code ​

pub fn from_code(code: u8) -> Option<Self>

The format of code, or none for a value this version does not know.

Implemented traits ​

impl Clone for RowFormat
impl Debug for RowFormat
impl Hash for RowFormat

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