Skip to main content

NotKernel

Trait NotKernel 

Source
pub trait NotKernel: VTable {
    // Required method
    fn invert(
        array: &Self::Array,
        ctx: &mut ExecutionCtx,
    ) -> VortexResult<Option<ArrayRef>>;
}
Expand description

Invert a boolean array, potentially reading buffers.

Unlike NotReduce, this trait is for invert implementations that may need to read and execute on the underlying buffers to produce the result.

Required Methods§

Source

fn invert( array: &Self::Array, ctx: &mut ExecutionCtx, ) -> VortexResult<Option<ArrayRef>>

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§