Appearance
cellpack::scans::map_dense
Module contract · All interfaces
At a glance
pub fn map_dense<S: CastInto<T>, T: Element>(
parts: &Parts<'_>,
map: &[u32],
dict: &[T],
modes: &[T],
out: &mut [T],
fill: Fill,
) -> Result<()>Mapping decoded rows onto a caller column panel, and the element types its conversions take. Scatters a decoded row into a dense output row: out[map[id]] gets each element’s value, with dict and modes as in map_parts; elements whose column is UNMAPPED are skipped. With Fill::Zero the row is cleared first. Every mapped column must lie inside out.
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.