pub enum SimdLevel {
Scalar,
Sse2,
Sse41,
Avx2,
Avx512,
Neon,
Sve,
WasmSimd128,
}Expand description
Available SIMD instruction set levels
Variants§
Scalar
No SIMD support, scalar fallback only
Sse2
SSE2 (128-bit, x86_64 baseline)
Sse41
SSE4.1 (128-bit, enhanced integer ops)
Avx2
AVX2 (256-bit, integer + float)
Avx512
AVX-512 Foundation (512-bit)
Neon
ARM NEON (128-bit)
Sve
ARM SVE (scalable vector extension)
WasmSimd128
WebAssembly SIMD (128-bit)
Trait Implementations§
Source§impl Ord for SimdLevel
impl Ord for SimdLevel
Source§impl PartialOrd for SimdLevel
impl PartialOrd for SimdLevel
impl Copy for SimdLevel
impl Eq for SimdLevel
impl StructuralPartialEq for SimdLevel
Auto Trait Implementations§
impl Freeze for SimdLevel
impl RefUnwindSafe for SimdLevel
impl Send for SimdLevel
impl Sync for SimdLevel
impl Unpin for SimdLevel
impl UnwindSafe for SimdLevel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.