[][src]Union x86_64_xsave::state_components::StateComponent

pub union StateComponent {
    pub user: UserStateComponent,
    pub supervisor: SupervisorStateComponent,
}

An state component.

Fields

user: UserStateComponent

An user state component.

supervisor: SupervisorStateComponent

A supervisor state component.

Methods

impl StateComponent[src]

pub const x87: StateComponent[src]

x87 user state component.

pub const SSE: StateComponent[src]

SSE user state component.

pub const AVX: StateComponent[src]

AVX user state component.

pub const BNDREGS_MPX: StateComponent[src]

BNDREGS_MPX user state component.

pub const BNDCSR_MPX: StateComponent[src]

BNDCSR_MPX user state component.

pub const opmask_AVX_512: StateComponent[src]

opmask_AVX_512 user state component.

pub const ZMM_Hi256_AVX_512: StateComponent[src]

ZMM_Hi256_AVX_512 user state component.

pub const Hi16_ZMM_AVX_512: StateComponent[src]

Hi16_ZMM_AVX_512 user state component.

pub const PKRU: StateComponent[src]

PKRU user state component.

pub const PT: StateComponent[src]

PT supervisor state component.

pub const HDC: StateComponent[src]

HDC supervisor state component.

pub const fn not_sizing_queryable_user_state_component(
    not_sizing_queryable_user_state_component: NotSizingQueryableUserStateComponent
) -> StateComponent
[src]

Convenience function to construct a state component.

pub const fn sizing_queryable_user_state_component(
    sizing_queryable_user_state_component: SizingQueryableUserStateComponent
) -> StateComponent
[src]

Convenience function to construct a state component.

pub const fn sizing_queryable_supervisor_state_component(
    supervisor_state_component: SupervisorStateComponent
) -> StateComponent
[src]

Convenience function to construct a state component.

pub const fn user_state_component(
    user_state_component: UserStateComponent
) -> StateComponent
[src]

Convenience function to construct a state component.

pub fn sizing(self) -> Option<StateComponentSizing>[src]

Query size using CPUID of the state component for bit.

bit must be between 2 and 62 inclusive.

pub fn bit(self) -> u8[src]

State component bit value.

Trait Implementations

impl Clone for StateComponent[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for StateComponent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.