pub trait SimdOperation<T, const WIDTH: usize> {
type Output;
// Required method
fn apply(&self, input: &SafeSimdVector<T, WIDTH>) -> Self::Output;
}Expand description
Type-safe SIMD operations with lane validation
Required Associated Types§
Required Methods§
fn apply(&self, input: &SafeSimdVector<T, WIDTH>) -> Self::Output
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".