pub trait SimdCapable<const WIDTH: usize> {
// Required methods
fn is_supported() -> bool;
fn best_width() -> usize;
}Expand description
Trait for SIMD capability validation at compile time
Required Methods§
fn is_supported() -> bool
fn best_width() -> usize
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".