Trait BinaryFn

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

Required Methods§

Source

fn binary<I, U, O, F>( &self, rhs: Array, binary_fn: F, ) -> Result<Array, VortexError>
where I: NativePType, U: NativePType, O: NativePType, F: Fn(I, U) -> O,

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§