pub struct TdgMemPageAttrGpaMappingReadRcxResult(/* private fields */);
Implementations§
source§impl TdgMemPageAttrGpaMappingReadRcxResult
impl TdgMemPageAttrGpaMappingReadRcxResult
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 accept 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 accept 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 accept call.
Bits: 12..52
sourcepub const fn with_reserved2(self, value: u64) -> Self
pub const fn with_reserved2(self, value: u64) -> Self
Bits: 52..62
sourcepub fn set_reserved2(&mut self, value: u64)
pub fn set_reserved2(&mut self, value: u64)
Bits: 52..62
sourcepub const fn pending(&self) -> u8
pub const fn pending(&self) -> u8
If this page’s attributes are pending, meaning it will be applied when the page is accepted.
Bits: 62..63
sourcepub const fn with_pending(self, value: u8) -> Self
pub const fn with_pending(self, value: u8) -> Self
If this page’s attributes are pending, meaning it will be applied when the page is accepted.
Bits: 62..63
sourcepub fn set_pending(&mut self, value: u8)
pub fn set_pending(&mut self, value: u8)
If this page’s attributes are pending, meaning it will be applied when the page is accepted.
Bits: 62..63
sourcepub const fn with_reserved3(self, value: u64) -> Self
pub const fn with_reserved3(self, value: u64) -> Self
Bits: 63..64
sourcepub fn set_reserved3(&mut self, value: u64)
pub fn set_reserved3(&mut self, value: u64)
Bits: 63..64
Trait Implementations§
source§impl Clone for TdgMemPageAttrGpaMappingReadRcxResult
impl Clone for TdgMemPageAttrGpaMappingReadRcxResult
source§fn clone(&self) -> TdgMemPageAttrGpaMappingReadRcxResult
fn clone(&self) -> TdgMemPageAttrGpaMappingReadRcxResult
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 From<TdgMemPageAttrGpaMappingReadRcxResult> for u64
impl From<TdgMemPageAttrGpaMappingReadRcxResult> for u64
source§fn from(v: TdgMemPageAttrGpaMappingReadRcxResult) -> u64
fn from(v: TdgMemPageAttrGpaMappingReadRcxResult) -> u64
Converts to this type from the input type.
impl Copy for TdgMemPageAttrGpaMappingReadRcxResult
Auto Trait Implementations§
impl Freeze for TdgMemPageAttrGpaMappingReadRcxResult
impl RefUnwindSafe for TdgMemPageAttrGpaMappingReadRcxResult
impl Send for TdgMemPageAttrGpaMappingReadRcxResult
impl Sync for TdgMemPageAttrGpaMappingReadRcxResult
impl Unpin for TdgMemPageAttrGpaMappingReadRcxResult
impl UnwindSafe for TdgMemPageAttrGpaMappingReadRcxResult
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
)