Enum x86defs::tdx::TdgMemPageLevel
source · #[repr(u8)]pub enum TdgMemPageLevel {
Size4k = 0,
Size2Mb = 1,
Size1Gb = 2,
}
Expand description
Level used in various TDG.MEM.PAGE calls for GPA_MAPPING types.
Variants§
Trait Implementations§
source§impl Clone for TdgMemPageLevel
impl Clone for TdgMemPageLevel
source§fn clone(&self) -> TdgMemPageLevel
fn clone(&self) -> TdgMemPageLevel
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 TdgMemPageLevel
impl Debug for TdgMemPageLevel
source§impl PartialEq for TdgMemPageLevel
impl PartialEq for TdgMemPageLevel
impl Copy for TdgMemPageLevel
impl Eq for TdgMemPageLevel
impl StructuralPartialEq for TdgMemPageLevel
Auto Trait Implementations§
impl Freeze for TdgMemPageLevel
impl RefUnwindSafe for TdgMemPageLevel
impl Send for TdgMemPageLevel
impl Sync for TdgMemPageLevel
impl Unpin for TdgMemPageLevel
impl UnwindSafe for TdgMemPageLevel
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
)