Skip to content
API REFERENCEUsage guides →

cellpack::scans::IndexOut ​

trait

Module contract · All interfaces

At a glance ​

pub trait IndexOut: Copy + Sealed {
    const MAX: u64;

    // Required method
    fn from_id(v: u32) -> Self;
}

Borrowed inputs, selections and encoding options. Integer types decoded gene indices can be written as.

Member index ​

2 of 2 members

  • MAXLargest id the type holds; decoding checks the chunk’s n_dims .
  • from_idv <= MAX , checked by the caller once per call.

Methods and associated constants ​

MAX ​

const MAX: u64

Largest id the type holds; decoding checks the chunk’s n_dims.

from_id ​

fn from_id(v: u32) -> Self

v <= MAX, checked by the caller once per call.

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