pub enum SimdLevel {
Scalar,
Sse42,
Avx2,
Neon,
}Expand description
Supported SIMD instruction set level, ordered from least to most capable.
Variants§
Scalar
Portable scalar fallback — always available.
Sse42
x86_64 SSE4.2 — 128-bit registers.
Avx2
x86_64 AVX2 — 256-bit registers.
Neon
ARM aarch64 NEON — 128-bit registers (always available on aarch64).
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 UnsafeUnpin 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