Chunk

Type Alias Chunk 

Source
pub type Chunk<T, const N: usize = { crate::DEFAULT_CHUNK_SIZE }> = Box<[MaybeUninit<T>; N]>;
Expand description

A fixed-size chunk type used for storing elements in ChunkedVec.

Each chunk is a boxed array of exactly N elements, where N is the chunk size. Using Box helps reduce stack pressure when chunk sizes are large.

Aliased Typeยง

pub struct Chunk<T, const N: usize = { crate::DEFAULT_CHUNK_SIZE }>(/* private fields */);