pub enum Backend {
Neon,
Avx2,
Avx512,
Sse4,
WasmSimd128,
Scalar,
}Expand description
Available SIMD backends.
Variants§
Neon
ARM NEON (always available on aarch64)
Avx2
x86_64 AVX2 + FMA
Avx512
x86_64 AVX-512F
Sse4
x86_64 SSE4.1
WasmSimd128
WebAssembly SIMD128
Scalar
Portable scalar fallback
Trait Implementations§
impl Copy for Backend
impl Eq for Backend
impl StructuralPartialEq for Backend
Auto Trait Implementations§
impl Freeze for Backend
impl RefUnwindSafe for Backend
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl UnsafeUnpin for Backend
impl UnwindSafe for Backend
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