[][src]Struct raw_cpuid::ExtendedStateInfo

pub struct ExtendedStateInfo { /* fields omitted */ }

Implementations

impl ExtendedStateInfo[src]

pub fn xcr0_supports_legacy_x87(&self) -> bool[src]

Support for legacy x87 in XCR0.

pub fn xcr0_supports_sse_128(&self) -> bool[src]

Support for SSE 128-bit in XCR0.

pub fn xcr0_supports_avx_256(&self) -> bool[src]

Support for AVX 256-bit in XCR0.

pub fn xcr0_supports_mpx_bndregs(&self) -> bool[src]

Support for MPX BNDREGS in XCR0.

pub fn xcr0_supports_mpx_bndcsr(&self) -> bool[src]

Support for MPX BNDCSR in XCR0.

pub fn xcr0_supports_avx512_opmask(&self) -> bool[src]

Support for AVX512 OPMASK in XCR0.

pub fn xcr0_supports_avx512_zmm_hi256(&self) -> bool[src]

Support for AVX512 ZMM Hi256 XCR0.

pub fn xcr0_supports_avx512_zmm_hi16(&self) -> bool[src]

Support for AVX512 ZMM Hi16 in XCR0.

pub fn xcr0_supports_pkru(&self) -> bool[src]

Support for PKRU in XCR0.

pub fn ia32_xss_supports_pt(&self) -> bool[src]

Support for PT in IA32_XSS.

pub fn ia32_xss_supports_hdc(&self) -> bool[src]

Support for HDC in IA32_XSS.

pub fn xsave_area_size_enabled_features(&self) -> u32[src]

Maximum size (bytes, from the beginning of the XSAVE/XRSTOR save area) required by enabled features in XCR0. May be different than ECX if some features at the end of the XSAVE save area are not enabled.

pub fn xsave_area_size_supported_features(&self) -> u32[src]

Maximum size (bytes, from the beginning of the XSAVE/XRSTOR save area) of the XSAVE/XRSTOR save area required by all supported features in the processor, i.e all the valid bit fields in XCR0.

pub fn has_xsaveopt(&self) -> bool[src]

CPU has xsaveopt feature.

pub fn has_xsavec(&self) -> bool[src]

Supports XSAVEC and the compacted form of XRSTOR if set.

pub fn has_xgetbv(&self) -> bool[src]

Supports XGETBV with ECX = 1 if set.

pub fn has_xsaves_xrstors(&self) -> bool[src]

Supports XSAVES/XRSTORS and IA32_XSS if set.

pub fn xsave_size(&self) -> u32[src]

The size in bytes of the XSAVE area containing all states enabled by XCRO | IA32_XSS.

pub fn iter(&self) -> ExtendedStateIter[src]

Iterator over extended state enumeration levels >= 2.

Trait Implementations

impl Debug for ExtendedStateInfo[src]

impl Default for ExtendedStateInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.