pub trait CastKernel: VTable {
// Required method
fn cast(
&self,
array: &Self::Array,
dtype: &DType,
) -> VortexResult<Option<ArrayRef>>;
}
Required Methods§
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§
impl CastKernel for BoolVTable
impl CastKernel for ChunkedVTable
impl CastKernel for ConstantVTable
impl CastKernel for DecimalVTable
impl CastKernel for ExtensionVTable
impl CastKernel for FixedSizeListVTable
Cast implementation for FixedSizeListArray
.
Recursively casts the inner elements array to the target element type while preserving the list structure.