pub trait MinMaxKernel: VTable {
// Required method
fn min_max(&self, array: &Self::Array) -> VortexResult<Option<MinMaxResult>>;
}
Expand description
Computes the min and max of an array, returning the (min, max) values
If the array is empty or has only nulls, the result is None
.
Required Methods§
fn min_max(&self, array: &Self::Array) -> VortexResult<Option<MinMaxResult>>
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.