pub enum SimdLevel {
Scalar,
Simd128,
Simd256,
Simd512,
}Expand description
SIMD capability level detected at runtime.
Variants§
Scalar
No SIMD, scalar operations only
Simd128
128-bit SIMD (SSE2 on x86, NEON on ARM)
Simd256
256-bit SIMD (AVX2 on x86)
Simd512
512-bit SIMD (AVX512F on x86)
Implementations§
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