Trait SumKernel

Source
pub trait SumKernel: VTable {
    // Required method
    fn sum(&self, array: &Self::Array) -> VortexResult<Scalar>;
}

Required Methods§

Source

fn sum(&self, array: &Self::Array) -> VortexResult<Scalar>

§Preconditions
  • The array’s DType is summable
  • The array is not all-null

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§