Appearance
cellpack::scans::DenseRef
Module contract · All interfaces
At a glance
Borrowed inputs, selections and encoding options. A row-major dense matrix: n_genes values of value_width little-endian bytes per row. A value whose bytes are all zero is a zero.
Fields and variants
n_genes
n_genes: u32Values per row.
value_width
value_width: usizeBytes per value: 1, 2, 4 or 8.
data
data: &'a [u8]n_rows * n_genes * value_width bytes.
Member index
1 of 1 members
n_rowsWhole rows in data ; a partial trailing row is not counted.
Methods and associated constants
n_rows
Whole rows in data; a partial trailing row is not counted.
Implemented traits
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.