#[non_exhaustive]pub enum SimdImpl {
Auto,
Generic,
Sse2,
Avx2,
Avx512F,
}Expand description
Explicitly specify an instruction set to use.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Auto
Automatically determine the implementation to use
Generic
Don’t use any SIMD accelerations
Sse2
Use the SSE2 instruction set
Avx2
Use the AVX2 instruction set
Avx512F
Use the AVX512F + AVX512BW instruction sets
Trait Implementations§
impl Copy for SimdImpl
impl Eq for SimdImpl
impl StructuralPartialEq for SimdImpl
Auto Trait Implementations§
impl Freeze for SimdImpl
impl RefUnwindSafe for SimdImpl
impl Send for SimdImpl
impl Sync for SimdImpl
impl Unpin for SimdImpl
impl UnwindSafe for SimdImpl
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