Trait vortex_array::compute::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.