#[repr(C, packed(1))]
pub struct vmcb_control_area {
Show 29 fields pub intercept_cr_read: u16, pub intercept_cr_write: u16, pub intercept_dr_read: u16, pub intercept_dr_write: u16, pub intercept_exceptions: u32, pub intercept: u64, pub reserved_1: [u8; 44], pub iopm_base_pa: u64, pub msrpm_base_pa: u64, pub tsc_offset: u64, pub asid: u32, pub tlb_ctl: u8, pub reserved_2: [u8; 3], pub int_ctl: u32, pub int_vector: u32, pub int_state: u32, pub reserved_3: [u8; 4], pub exit_code: u64, pub exit_info_1: u64, pub exit_info_2: u64, pub exit_int_info: u32, pub exit_int_info_err: u32, pub nested_ctl: u64, pub reserved_4: [u8; 16], pub event_inj: u32, pub event_inj_err: u32, pub nested_cr3: u64, pub lbr_ctl: u64, pub reserved_5: [u8; 832],
}

Fields§

§intercept_cr_read: u16§intercept_cr_write: u16§intercept_dr_read: u16§intercept_dr_write: u16§intercept_exceptions: u32§intercept: u64§reserved_1: [u8; 44]§iopm_base_pa: u64§msrpm_base_pa: u64§tsc_offset: u64§asid: u32§tlb_ctl: u8§reserved_2: [u8; 3]§int_ctl: u32§int_vector: u32§int_state: u32§reserved_3: [u8; 4]§exit_code: u64§exit_info_1: u64§exit_info_2: u64§exit_int_info: u32§exit_int_info_err: u32§nested_ctl: u64§reserved_4: [u8; 16]§event_inj: u32§event_inj_err: u32§nested_cr3: u64§lbr_ctl: u64§reserved_5: [u8; 832]

Trait Implementations§

source§

impl Clone for vmcb_control_area

source§

fn clone(&self) -> vmcb_control_area

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for vmcb_control_area

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for vmcb_control_area

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.