Skip to content
API REFERENCEUsage guides →

cellpack::scans::EncodeTables ​

struct

Module contract · All interfaces

At a glance ​

pub struct EncodeTables { /* private fields */ }

The per-chunk lookup tables, bound to the runtime or to a given one. Encode-side lookup tables of one chunk: an EncModel per model and the gene order records are written in. As with DecodeTables, the metadata key lets EncodeTables::check reject reuse across chunks.

Member index ​

2 of 2 members

  • checkRejects tables derived from other metadata, as DecodeTables::check does for the decode side.
  • coded_of_sourceCoded id of each source gene; None denotes the identity order.

Methods and associated constants ​

check ​

pub fn check(&self, meta: &Meta<'_>) -> Result<()>

Rejects tables derived from other metadata, as DecodeTables::check does for the decode side.

coded_of_source ​

pub fn coded_of_source(&self) -> Option<&[u32]>

Coded id of each source gene; None denotes the identity order.

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