Skip to content
API REFERENCEUsage guides →

cellpack::scans::cast_values ​

fn

Module contract · All interfaces

At a glance ​

pub fn cast_values<S: CastInto<T>, T: Element>(
    bytes: &[u8],
    out: &mut [T],
) -> Result<()>

Mapping decoded rows onto a caller column panel, and the element types its conversions take. Values of S::WIDTH little-endian bytes each, read as S and converted to T into out (at least as many entries). For converting a chunk’s Meta::column_modes once.

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