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