Skip to main content

chunk_range

Function chunk_range 

Source
pub fn chunk_range(
    layout: &ColumnLayout,
    index: &[Option<ShardIndexEntry>],
    row: u32,
    column: u32,
) -> Result<Option<ShardIndexEntry>, DecodeError>
Expand description

Where the block a cell lies in sits within its shard, or None for a block the shard never held, which reads as the fill value. index is that of the cell’s shard (ColumnLayout::shard_of).