Trait IsConstantKernel

Source
pub trait IsConstantKernel: VTable {
    // Required method
    fn is_constant(
        &self,
        array: &Self::Array,
        opts: &IsConstantOpts,
    ) -> VortexResult<Option<bool>>;
}

Required Methods§

Source

fn is_constant( &self, array: &Self::Array, opts: &IsConstantOpts, ) -> VortexResult<Option<bool>>

§Preconditions
  • All values are valid
  • array.len() > 1

Returns Ok(None) to signal we couldn’t make an exact determination.

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§