Skip to content
API REFERENCEUsage guides →

cellpack::scans::IndptrOut ​

trait

Module contract · All interfaces

At a glance ​

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

    // Required method
    fn from_offset(v: u64) -> Self;
}

Borrowed inputs, selections and encoding options. Integer types a decoded CSR indptr can be written as.

Member index ​

2 of 2 members

  • MAXLargest offset the type holds; decoding checks the selected nnz.
  • from_offsetv <= MAX , checked by the caller once per call.

Methods and associated constants ​

MAX ​

const MAX: u64

Largest offset the type holds; decoding checks the selected nnz.

from_offset ​

fn from_offset(v: u64) -> 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