vortex_array::compute

Trait ScalarAtFn

Source
pub trait ScalarAtFn<Array> {
    // Required method
    fn scalar_at(&self, array: &Array, 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 ArrayData.

Required Methods§

Source

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

Implementors§