Trait ScalarAtFn

Source
pub trait ScalarAtFn<A> {
    // Required method
    fn scalar_at(&self, array: A, index: usize) -> VortexResult<Scalar>;
}
Expand description

Implementation of scalar_at for an encoding.

SAFETY: the index is guaranteed to be within the bounds of the crate::ArrayRef.

Required Methods§

Source

fn scalar_at(&self, array: A, index: usize) -> VortexResult<Scalar>

Implementors§