#[non_exhaustive]pub enum Acceleration {
Scalar = 0,
MMS = 10,
SSE = 20,
SSE2 = 30,
SSE4 = 40,
AVX = 50,
AVX2 = 60,
ARM = 70,
NEON = 80,
Auto = 10_000,
}Expand description
Sorted such that a large ID includes all optimizations from lower IDs
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.
Scalar = 0
only fallback implementation
MMS = 10
SSE = 20
SSE2 = 30
SSE4 = 40
AVX = 50
not implemented yet
AVX2 = 60
not implemented yet
ARM = 70
NEON = 80
Auto = 10_000
Trait Implementations§
Source§impl Clone for Acceleration
impl Clone for Acceleration
Source§fn clone(&self) -> Acceleration
fn clone(&self) -> Acceleration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Acceleration
impl Debug for Acceleration
impl Copy for Acceleration
Auto Trait Implementations§
impl Freeze for Acceleration
impl RefUnwindSafe for Acceleration
impl Send for Acceleration
impl Sync for Acceleration
impl Unpin for Acceleration
impl UnwindSafe for Acceleration
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