Trait vortex_array::compute::CastFn

source ·
pub trait CastFn<Array> {
    // Required method
    fn cast(&self, array: &Array, dtype: &DType) -> VortexResult<ArrayData>;
}

Required Methods§

source

fn cast(&self, array: &Array, dtype: &DType) -> VortexResult<ArrayData>

Implementors§

source§

impl CastFn<ChunkedArray> for ChunkedEncoding

source§

impl CastFn<PrimitiveArray> for PrimitiveEncoding

source§

impl<E> CastFn<ArrayData> for E
where E: CastFn<E::Array> + Encoding, for<'a> &'a E::Array: TryFrom<&'a ArrayData, Error = VortexError>,