pub trait UnaryFn {
// Required method
fn unary<I: NativePType, O: NativePType, F: Fn(I) -> O>(
&self,
unary_fn: F,
) -> VortexResult<Array>;
}
Required Methods§
fn unary<I: NativePType, O: NativePType, F: Fn(I) -> O>( &self, unary_fn: F, ) -> VortexResult<Array>
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.