vortex_array::elementwise

Trait BinaryFn

Source
pub trait BinaryFn {
    // Required method
    fn binary<I: NativePType, U: NativePType, O: NativePType, F: Fn(I, U) -> O>(
        &self,
        rhs: ArrayData,
        binary_fn: F,
    ) -> VortexResult<ArrayData>;
}

Required Methods§

Source

fn binary<I: NativePType, U: NativePType, O: NativePType, F: Fn(I, U) -> O>( &self, rhs: ArrayData, binary_fn: F, ) -> VortexResult<ArrayData>

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§