Trait mz_repr::DatumDecoderT

source ·
pub trait DatumDecoderT {
    // Required method
    fn decode(&self, idx: usize, row: &mut RowPacker<'_>);
}
Expand description

An enum_dispatch companion for DatumDecoder.

This allows us to do Datum decoding without dynamic dispatch. It’s a pretty hot path, so the hassle is worth it.

Required Methods§

source

fn decode(&self, idx: usize, row: &mut RowPacker<'_>)

Implementors§