Struct x86defs::tdx::TdgMemPageAcceptRcx
source · pub struct TdgMemPageAcceptRcx(/* private fields */);
Implementations§
source§impl TdgMemPageAcceptRcx
impl TdgMemPageAcceptRcx
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..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 TdgMemPageAcceptRcx
impl Clone for TdgMemPageAcceptRcx
source§fn clone(&self) -> TdgMemPageAcceptRcx
fn clone(&self) -> TdgMemPageAcceptRcx
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 TdgMemPageAcceptRcx
impl Debug for TdgMemPageAcceptRcx
source§impl Default for TdgMemPageAcceptRcx
impl Default for TdgMemPageAcceptRcx
source§impl From<TdgMemPageAcceptRcx> for u64
impl From<TdgMemPageAcceptRcx> for u64
source§fn from(v: TdgMemPageAcceptRcx) -> u64
fn from(v: TdgMemPageAcceptRcx) -> u64
Converts to this type from the input type.
source§impl From<u64> for TdgMemPageAcceptRcx
impl From<u64> for TdgMemPageAcceptRcx
impl Copy for TdgMemPageAcceptRcx
Auto Trait Implementations§
impl Freeze for TdgMemPageAcceptRcx
impl RefUnwindSafe for TdgMemPageAcceptRcx
impl Send for TdgMemPageAcceptRcx
impl Sync for TdgMemPageAcceptRcx
impl Unpin for TdgMemPageAcceptRcx
impl UnwindSafe for TdgMemPageAcceptRcx
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
)