Skip to content
API REFERENCEUsage guides →

cellpack::scans::CellRef ​

struct

Module contract · All interfaces

At a glance ​

pub struct CellRef<'a> {
    pub indices: Indices<'a>,
    pub values: &'a [u8],
}

Borrowed inputs, selections and encoding options. One cell: strictly ascending gene indices and their values (indices.len() * value_width bytes).

Fields and variants ​

indices ​

indices: Indices<'a>

Strictly ascending gene ids.

values ​

values: &'a [u8]

One value per index, indices.len() * value_width bytes.

Implemented traits ​

impl<'a> Clone for CellRef<'a>
impl<'a> Debug for CellRef<'a>
impl<'a> From<&CellRef<'a>> for RowRef<'a>
impl<'a> From<CellRef<'a>> for RowRef<'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