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