pub struct CpuFeatures {
pub sse2: bool,
pub sse42: bool,
pub avx: bool,
pub avx2: bool,
pub fma: bool,
pub popcnt: bool,
pub avx512f: bool,
pub avx512bw: bool,
pub avx512dq: bool,
pub avx512vl: bool,
pub neon: bool,
}Fields§
§sse2: bool§sse42: bool§avx: bool§avx2: bool§fma: bool§popcnt: bool§avx512f: bool§avx512bw: bool§avx512dq: bool§avx512vl: bool§neon: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CpuFeatures
impl RefUnwindSafe for CpuFeatures
impl Send for CpuFeatures
impl Sync for CpuFeatures
impl Unpin for CpuFeatures
impl UnsafeUnpin for CpuFeatures
impl UnwindSafe for CpuFeatures
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