Skip to content
API REFERENCEUsage guides →

cellpack::loader::DenseRow ​

struct

Module contract · All interfaces

At a glance ​

#[repr(C)]pub struct DenseRow {
    pub context: ProcessContext,
    pub out_dim: u64,
    pub values: *const c_void,
    pub out: *mut u8,
    pub scratch: *mut u8,
    pub scratch_bytes: u64,
}

A dense row: out_dim values of the schema’s dtype: the stored value or 0 at present dims, the schema’s default at missing dims (see the module notes).

Fields and variants ​

context ​

ABI version, struct size, position, cell, schema and user data.

out_dim ​

out_dim: u64

Values in values.

values ​

The mapped and converted values, one per output dim.

out ​

out: *mut u8

The cell’s output: exactly the schema’s cell_bytes.

scratch ​

scratch: *mut u8

This call’s private scratch, at least the schema’s scratch_bytes long.

scratch_bytes ​

scratch_bytes: u64

Bytes available at scratch.

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