[][src]Struct raw_cpuid::ExtendedState

pub struct ExtendedState {
    pub subleaf: u32,
    // some fields omitted
}

Fields

subleaf: u32

Implementations

impl ExtendedState[src]

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

The size in bytes (from the offset specified in EBX) of the save area for an extended state feature associated with a valid sub-leaf index, n. This field reports 0 if the sub-leaf index, n, is invalid.

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

The offset in bytes of this extended state components save area from the beginning of the XSAVE/XRSTOR area.

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

True if the bit n (corresponding to the sub-leaf index) is supported in the IA32_XSS MSR;

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

True if bit n is supported in XCR0.

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

Returns true when the compacted format of an XSAVE area is used, this extended state component located on the next 64-byte boundary following the preceding state component (otherwise, it is located immediately following the preceding state component).

Trait Implementations

impl Debug for ExtendedState[src]

impl Default for ExtendedState[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.