Trait UnaryFn

Source
pub trait UnaryFn {
    // Required method
    fn unary<I, O, F>(&self, unary_fn: F) -> Result<Array, VortexError>
       where I: NativePType,
             O: NativePType,
             F: Fn(I) -> O;
}

Required Methods§

Source

fn unary<I, O, F>(&self, unary_fn: F) -> Result<Array, VortexError>
where I: NativePType, O: NativePType, F: Fn(I) -> 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§