Struct raw_cpuid::ExtendedState [−][src]
pub struct ExtendedState {
pub subleaf: u32,
// some fields omitted
}Fields
subleaf: u32
Methods
impl ExtendedState[src]
impl ExtendedStatepub fn size(&self) -> u32[src]
pub fn size(&self) -> u32The 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]
pub fn offset(&self) -> u32The 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]
pub fn is_in_ia32_xss(&self) -> boolTrue 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]
pub fn is_in_xcr0(&self) -> boolTrue if bit n is supported in XCR0.
pub fn is_compacted_format(&self) -> bool[src]
pub fn is_compacted_format(&self) -> boolReturns 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 Debug for ExtendedStatefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for ExtendedState[src]
impl Default for ExtendedStatefn default() -> ExtendedState[src]
fn default() -> ExtendedStateReturns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for ExtendedState
impl Send for ExtendedStateimpl Sync for ExtendedState
impl Sync for ExtendedState