Struct raw_cpuid::ExtendedState[][src]

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

ExtendedState subleaf structure for things that need to be restored.

Fields

subleaf: u32

Implementations

Returns which register this specific extended subleaf contains information for.

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.

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

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

Deprecation note

This will likely be removed in the future. Use location() instead.

True if bit n is supported in XCR0.

Deprecation note

This will likely be removed in the future. Use location() instead.

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.