Trait CastKernel

Source
pub trait CastKernel: VTable {
    // Required method
    fn cast(
        &self,
        array: &Self::Array,
        dtype: &DType,
    ) -> VortexResult<Option<ArrayRef>>;
}

Required Methods§

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§