Skip to main content

TypeSafeSimd

Trait TypeSafeSimd 

Source
pub trait TypeSafeSimd<T> {
    type Output;

    // Required method
    fn apply_safe(&self, input: &[T]) -> Self::Output;
}
Expand description

Trait for type-safe SIMD operations with zero-cost abstractions

Required Associated Types§

Required Methods§

Source

fn apply_safe(&self, input: &[T]) -> Self::Output

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§