Appearance
cellpack::loader::DenseRow
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
context: ProcessContextABI version, struct size, position, cell, schema and user data.
out_dim
out_dim: u64Values in values.
values
The mapped and converted values, one per output dim.
out
The cell’s output: exactly the schema’s cell_bytes.
scratch
This call’s private scratch, at least the schema’s scratch_bytes long.
scratch_bytes
scratch_bytes: u64Bytes 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.