Skip to content
API REFERENCEUsage guides →

cellpack::scans::ChunkSizes ​

struct

Module contract · All interfaces

At a glance ​

pub struct ChunkSizes {
    pub output_bytes: usize,
    pub workspace_words: usize,
}

Both encoding buffer sizes, queried together. Output capacity in bytes and scratch capacity in u64 words.

Fields and variants ​

output_bytes ​

output_bytes: usize

Bytes crate::scans::encode_chunk can write for the selection.

workspace_words ​

workspace_words: usize

u64 words of workspace those calls need.

Implemented traits ​

impl Clone for ChunkSizes
impl Debug for ChunkSizes

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