Struct x86defs::tdx::TdgMemPageAttrWriteRcx
source · pub struct TdgMemPageAttrWriteRcx(/* private fields */);
Expand description
RCX input to TDG.MEM.PAGE.ATTR.WR.
Implementations§
source§impl TdgMemPageAttrWriteRcx
impl TdgMemPageAttrWriteRcx
sourcepub const fn level(&self) -> TdgMemPageLevel
pub const fn level(&self) -> TdgMemPageLevel
Bits: 0..3
sourcepub const fn with_level(self, value: TdgMemPageLevel) -> Self
pub const fn with_level(self, value: TdgMemPageLevel) -> Self
Bits: 0..3
sourcepub fn set_level(&mut self, value: TdgMemPageLevel)
pub fn set_level(&mut self, value: TdgMemPageLevel)
Bits: 0..3
sourcepub const fn with_reserved(self, value: u64) -> Self
pub const fn with_reserved(self, value: u64) -> Self
Bits: 3..12
sourcepub fn set_reserved(&mut self, value: u64)
pub fn set_reserved(&mut self, value: u64)
Bits: 3..12
sourcepub const fn gpa_page_number(&self) -> u64
pub const fn gpa_page_number(&self) -> u64
The page number for this write call.
Bits: 12..52
sourcepub const fn with_gpa_page_number(self, value: u64) -> Self
pub const fn with_gpa_page_number(self, value: u64) -> Self
The page number for this write call.
Bits: 12..52
sourcepub fn set_gpa_page_number(&mut self, value: u64)
pub fn set_gpa_page_number(&mut self, value: u64)
The page number for this write call.
Bits: 12..52
sourcepub const fn with_reserved2(self, value: u64) -> Self
pub const fn with_reserved2(self, value: u64) -> Self
Bits: 52..64
sourcepub fn set_reserved2(&mut self, value: u64)
pub fn set_reserved2(&mut self, value: u64)
Bits: 52..64
Trait Implementations§
source§impl Clone for TdgMemPageAttrWriteRcx
impl Clone for TdgMemPageAttrWriteRcx
source§fn clone(&self) -> TdgMemPageAttrWriteRcx
fn clone(&self) -> TdgMemPageAttrWriteRcx
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 TdgMemPageAttrWriteRcx
impl Debug for TdgMemPageAttrWriteRcx
source§impl Default for TdgMemPageAttrWriteRcx
impl Default for TdgMemPageAttrWriteRcx
source§impl From<TdgMemPageAttrWriteRcx> for u64
impl From<TdgMemPageAttrWriteRcx> for u64
source§fn from(v: TdgMemPageAttrWriteRcx) -> u64
fn from(v: TdgMemPageAttrWriteRcx) -> u64
Converts to this type from the input type.
source§impl From<u64> for TdgMemPageAttrWriteRcx
impl From<u64> for TdgMemPageAttrWriteRcx
source§impl PartialEq for TdgMemPageAttrWriteRcx
impl PartialEq for TdgMemPageAttrWriteRcx
impl Copy for TdgMemPageAttrWriteRcx
impl Eq for TdgMemPageAttrWriteRcx
impl StructuralPartialEq for TdgMemPageAttrWriteRcx
Auto Trait Implementations§
impl Freeze for TdgMemPageAttrWriteRcx
impl RefUnwindSafe for TdgMemPageAttrWriteRcx
impl Send for TdgMemPageAttrWriteRcx
impl Sync for TdgMemPageAttrWriteRcx
impl Unpin for TdgMemPageAttrWriteRcx
impl UnwindSafe for TdgMemPageAttrWriteRcx
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
)