pub struct CpuFeatures {
pub avx: bool,
pub avx2: bool,
pub avx512f: bool,
pub avx512f16: bool,
pub avx512bw: bool,
pub avx512_vnni: bool,
pub fma: bool,
pub fma4: bool,
pub f16c: bool,
}Fields§
§avx: bool§avx2: bool§avx512f: bool§avx512f16: bool§avx512bw: bool§avx512_vnni: bool§fma: bool§fma4: bool§f16c: boolTrait Implementations§
Source§impl Clone for CpuFeatures
impl Clone for CpuFeatures
Source§fn clone(&self) -> CpuFeatures
fn clone(&self) -> CpuFeatures
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 moreimpl Copy for CpuFeatures
Auto Trait Implementations§
impl Freeze for CpuFeatures
impl RefUnwindSafe for CpuFeatures
impl Send for CpuFeatures
impl Sync for CpuFeatures
impl Unpin 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