pub struct VmcsField(/* private fields */);
Implementations§
source§impl VmcsField
impl VmcsField
sourcepub const fn access_high(&self) -> u32
pub const fn access_high(&self) -> u32
Bits: 0..1
sourcepub const fn with_access_high(self, value: u32) -> Self
pub const fn with_access_high(self, value: u32) -> Self
Bits: 0..1
sourcepub fn set_access_high(&mut self, value: u32)
pub fn set_access_high(&mut self, value: u32)
Bits: 0..1
sourcepub const fn with_index(self, value: u32) -> Self
pub const fn with_index(self, value: u32) -> Self
Bits: 1..10
sourcepub const fn with_reserved(self, value: u32) -> Self
pub const fn with_reserved(self, value: u32) -> Self
Bits: 12..13
sourcepub fn set_reserved(&mut self, value: u32)
pub fn set_reserved(&mut self, value: u32)
Bits: 12..13
sourcepub const fn field_width(&self) -> FieldWidth
pub const fn field_width(&self) -> FieldWidth
Bits: 13..15
sourcepub const fn with_field_width(self, value: FieldWidth) -> Self
pub const fn with_field_width(self, value: FieldWidth) -> Self
Bits: 13..15
sourcepub fn set_field_width(&mut self, value: FieldWidth)
pub fn set_field_width(&mut self, value: FieldWidth)
Bits: 13..15
sourcepub const fn with_reserved2(self, value: u32) -> Self
pub const fn with_reserved2(self, value: u32) -> Self
Bits: 15..32
sourcepub fn set_reserved2(&mut self, value: u32)
pub fn set_reserved2(&mut self, value: u32)
Bits: 15..32
source§impl VmcsField
impl VmcsField
pub const VMX_VMCS_ENTRY_CONTROLS: Self = _
pub const VMX_VMCS_GUEST_CR0: Self = _
pub const VMX_VMCS_GUEST_CR3: Self = _
pub const VMX_VMCS_GUEST_CR4: Self = _
pub const VMX_VMCS_GUEST_DR7: Self = _
pub const VMX_VMCS_GUEST_ES_SELECTOR: Self = _
pub const VMX_VMCS_GUEST_ES_BASE: Self = _
pub const VMX_VMCS_GUEST_ES_LIMIT: Self = _
pub const VMX_VMCS_GUEST_ES_AR: Self = _
pub const VMX_VMCS_GUEST_CS_SELECTOR: Self = _
pub const VMX_VMCS_GUEST_CS_BASE: Self = _
pub const VMX_VMCS_GUEST_CS_LIMIT: Self = _
pub const VMX_VMCS_GUEST_CS_AR: Self = _
pub const VMX_VMCS_GUEST_SS_SELECTOR: Self = _
pub const VMX_VMCS_GUEST_SS_BASE: Self = _
pub const VMX_VMCS_GUEST_SS_LIMIT: Self = _
pub const VMX_VMCS_GUEST_SS_AR: Self = _
pub const VMX_VMCS_GUEST_DS_SELECTOR: Self = _
pub const VMX_VMCS_GUEST_DS_BASE: Self = _
pub const VMX_VMCS_GUEST_DS_LIMIT: Self = _
pub const VMX_VMCS_GUEST_DS_AR: Self = _
pub const VMX_VMCS_GUEST_FS_SELECTOR: Self = _
pub const VMX_VMCS_GUEST_FS_BASE: Self = _
pub const VMX_VMCS_GUEST_FS_LIMIT: Self = _
pub const VMX_VMCS_GUEST_FS_AR: Self = _
pub const VMX_VMCS_GUEST_GS_SELECTOR: Self = _
pub const VMX_VMCS_GUEST_GS_BASE: Self = _
pub const VMX_VMCS_GUEST_GS_LIMIT: Self = _
pub const VMX_VMCS_GUEST_GS_AR: Self = _
pub const VMX_VMCS_GUEST_LDTR_SELECTOR: Self = _
pub const VMX_VMCS_GUEST_LDTR_BASE: Self = _
pub const VMX_VMCS_GUEST_LDTR_LIMIT: Self = _
pub const VMX_VMCS_GUEST_LDTR_AR: Self = _
pub const VMX_VMCS_GUEST_TR_SELECTOR: Self = _
pub const VMX_VMCS_GUEST_TR_BASE: Self = _
pub const VMX_VMCS_GUEST_TR_LIMIT: Self = _
pub const VMX_VMCS_GUEST_TR_AR: Self = _
pub const VMX_VMCS_GUEST_GDTR_BASE: Self = _
pub const VMX_VMCS_GUEST_GDTR_LIMIT: Self = _
pub const VMX_VMCS_GUEST_IDTR_BASE: Self = _
pub const VMX_VMCS_GUEST_IDTR_LIMIT: Self = _
pub const VMX_VMCS_GUEST_PAT: Self = _
pub const VMX_VMCS_GUEST_EFER: Self = _
pub const VMX_VMCS_EOI_EXIT_0: Self = _
pub const VMX_VMCS_EOI_EXIT_1: Self = _
pub const VMX_VMCS_EOI_EXIT_2: Self = _
pub const VMX_VMCS_EOI_EXIT_3: Self = _
pub const VMX_VMCS_PROCESSOR_CONTROLS: Self = _
pub const VMX_VMCS_EXCEPTION_BITMAP: Self = _
pub const VMX_VMCS_ENTRY_INTERRUPT_INFO: Self = _
pub const VMX_VMCS_ENTRY_EXCEPTION_ERROR_CODE: Self = _
pub const VMX_VMCS_ENTRY_INSTRUCTION_LENGTH: Self = _
pub const VMX_VMCS_TPR_THRESHOLD: Self = _
pub const VMX_VMCS_SECONDARY_PROCESSOR_CONTROLS: Self = _
pub const VMX_VMCS_CR0_GUEST_HOST_MASK: Self = _
pub const VMX_VMCS_CR4_GUEST_HOST_MASK: Self = _
pub const VMX_VMCS_CR0_READ_SHADOW: Self = _
pub const VMX_VMCS_CR4_READ_SHADOW: Self = _
pub const VMX_VMCS_GUEST_INTERRUPTIBILITY: Self = _
pub const VMX_VMCS_GUEST_SYSENTER_CS_MSR: Self = _
pub const VMX_VMCS_GUEST_SYSENTER_ESP_MSR: Self = _
pub const VMX_VMCS_GUEST_SYSENTER_EIP_MSR: Self = _
Trait Implementations§
impl Copy for VmcsField
Auto Trait Implementations§
impl Freeze for VmcsField
impl RefUnwindSafe for VmcsField
impl Send for VmcsField
impl Sync for VmcsField
impl Unpin for VmcsField
impl UnwindSafe for VmcsField
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)