pub trait PartDecoder<'a, T> {
    // Required method
    fn decode(&self, idx: usize, val: &mut T);
}
Expand description

A decoder for values of a fixed schema.

This allows us to amortize the cost of downcasting columns into concrete types.

Required Methods§

source

fn decode(&self, idx: usize, val: &mut T)

Decodes the value at the given index.

Implementations of this should reuse allocations within the passed value whenever possible.

Implementors§

source§

impl PartDecoder<'_, ()> for UnitSchema

source§

impl<'a, X, T: Data> PartDecoder<'a, X> for SimpleDecoder<'a, X, T>

source§

impl<T> PartDecoder<'_, T> for TodoSchema<T>