Struct x86defs::tdx::TdgMemPageAttrWriteR8
source · pub struct TdgMemPageAttrWriteR8(/* private fields */);
Expand description
R8 input to TDG.MEM.PAGE.ATTR.WR.
Implementations§
source§impl TdgMemPageAttrWriteR8
impl TdgMemPageAttrWriteR8
sourcepub const fn with_reserved(self, value: u64) -> Self
pub const fn with_reserved(self, value: u64) -> Self
Bits: 0..16
sourcepub fn set_reserved(&mut self, value: u64)
pub fn set_reserved(&mut self, value: u64)
Bits: 0..16
sourcepub const fn l2_vm1(&self) -> GpaVmAttributesMask
pub const fn l2_vm1(&self) -> GpaVmAttributesMask
Corresponds to ATTR_MASK1
Bits: 16..32
sourcepub const fn with_l2_vm1(self, value: GpaVmAttributesMask) -> Self
pub const fn with_l2_vm1(self, value: GpaVmAttributesMask) -> Self
Corresponds to ATTR_MASK1
Bits: 16..32
sourcepub fn set_l2_vm1(&mut self, value: GpaVmAttributesMask)
pub fn set_l2_vm1(&mut self, value: GpaVmAttributesMask)
Corresponds to ATTR_MASK1
Bits: 16..32
sourcepub const fn l2_vm2(&self) -> GpaVmAttributesMask
pub const fn l2_vm2(&self) -> GpaVmAttributesMask
Corresponds to ATTR_MASK2
Bits: 32..48
sourcepub const fn with_l2_vm2(self, value: GpaVmAttributesMask) -> Self
pub const fn with_l2_vm2(self, value: GpaVmAttributesMask) -> Self
Corresponds to ATTR_MASK2
Bits: 32..48
sourcepub fn set_l2_vm2(&mut self, value: GpaVmAttributesMask)
pub fn set_l2_vm2(&mut self, value: GpaVmAttributesMask)
Corresponds to ATTR_MASK2
Bits: 32..48
sourcepub const fn l2_vm3(&self) -> GpaVmAttributesMask
pub const fn l2_vm3(&self) -> GpaVmAttributesMask
Corresponds to ATTR_MASK3
Bits: 48..64
sourcepub const fn with_l2_vm3(self, value: GpaVmAttributesMask) -> Self
pub const fn with_l2_vm3(self, value: GpaVmAttributesMask) -> Self
Corresponds to ATTR_MASK3
Bits: 48..64
sourcepub fn set_l2_vm3(&mut self, value: GpaVmAttributesMask)
pub fn set_l2_vm3(&mut self, value: GpaVmAttributesMask)
Corresponds to ATTR_MASK3
Bits: 48..64
Trait Implementations§
source§impl Clone for TdgMemPageAttrWriteR8
impl Clone for TdgMemPageAttrWriteR8
source§fn clone(&self) -> TdgMemPageAttrWriteR8
fn clone(&self) -> TdgMemPageAttrWriteR8
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TdgMemPageAttrWriteR8
impl Debug for TdgMemPageAttrWriteR8
source§impl Default for TdgMemPageAttrWriteR8
impl Default for TdgMemPageAttrWriteR8
source§impl From<TdgMemPageAttrWriteR8> for u64
impl From<TdgMemPageAttrWriteR8> for u64
source§fn from(v: TdgMemPageAttrWriteR8) -> u64
fn from(v: TdgMemPageAttrWriteR8) -> u64
Converts to this type from the input type.
source§impl From<u64> for TdgMemPageAttrWriteR8
impl From<u64> for TdgMemPageAttrWriteR8
impl Copy for TdgMemPageAttrWriteR8
Auto Trait Implementations§
impl Freeze for TdgMemPageAttrWriteR8
impl RefUnwindSafe for TdgMemPageAttrWriteR8
impl Send for TdgMemPageAttrWriteR8
impl Sync for TdgMemPageAttrWriteR8
impl Unpin for TdgMemPageAttrWriteR8
impl UnwindSafe for TdgMemPageAttrWriteR8
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
)