Struct hvdef::HvRegisterVsmPartitionStatus
source · pub struct HvRegisterVsmPartitionStatus(/* private fields */);
Implementations§
source§impl HvRegisterVsmPartitionStatus
impl HvRegisterVsmPartitionStatus
sourcepub const fn enabled_vtl_set(&self) -> u16
pub const fn enabled_vtl_set(&self) -> u16
Bits: 0..16
sourcepub const fn with_enabled_vtl_set(self, value: u16) -> Self
pub const fn with_enabled_vtl_set(self, value: u16) -> Self
Bits: 0..16
sourcepub fn set_enabled_vtl_set(&mut self, value: u16)
pub fn set_enabled_vtl_set(&mut self, value: u16)
Bits: 0..16
sourcepub const fn maximum_vtl(&self) -> u8
pub const fn maximum_vtl(&self) -> u8
Bits: 16..20
sourcepub const fn with_maximum_vtl(self, value: u8) -> Self
pub const fn with_maximum_vtl(self, value: u8) -> Self
Bits: 16..20
sourcepub fn set_maximum_vtl(&mut self, value: u8)
pub fn set_maximum_vtl(&mut self, value: u8)
Bits: 16..20
sourcepub const fn mbec_enabled_vtl_set(&self) -> u16
pub const fn mbec_enabled_vtl_set(&self) -> u16
Bits: 20..36
sourcepub const fn with_mbec_enabled_vtl_set(self, value: u16) -> Self
pub const fn with_mbec_enabled_vtl_set(self, value: u16) -> Self
Bits: 20..36
sourcepub fn set_mbec_enabled_vtl_set(&mut self, value: u16)
pub fn set_mbec_enabled_vtl_set(&mut self, value: u16)
Bits: 20..36
sourcepub const fn supervisor_shadow_stack_enabled_vtl_set(&self) -> u8
pub const fn supervisor_shadow_stack_enabled_vtl_set(&self) -> u8
Bits: 36..40
sourcepub const fn with_supervisor_shadow_stack_enabled_vtl_set(
self,
value: u8,
) -> Self
pub const fn with_supervisor_shadow_stack_enabled_vtl_set( self, value: u8, ) -> Self
Bits: 36..40
sourcepub fn set_supervisor_shadow_stack_enabled_vtl_set(&mut self, value: u8)
pub fn set_supervisor_shadow_stack_enabled_vtl_set(&mut self, value: u8)
Bits: 36..40
sourcepub const fn with_reserved(self, value: u64) -> Self
pub const fn with_reserved(self, value: u64) -> Self
Bits: 40..64
sourcepub fn set_reserved(&mut self, value: u64)
pub fn set_reserved(&mut self, value: u64)
Bits: 40..64
Trait Implementations§
source§impl Clone for HvRegisterVsmPartitionStatus
impl Clone for HvRegisterVsmPartitionStatus
source§fn clone(&self) -> HvRegisterVsmPartitionStatus
fn clone(&self) -> HvRegisterVsmPartitionStatus
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 HvRegisterVsmPartitionStatus
impl Debug for HvRegisterVsmPartitionStatus
source§impl From<HvRegisterVsmPartitionStatus> for u64
impl From<HvRegisterVsmPartitionStatus> for u64
source§fn from(v: HvRegisterVsmPartitionStatus) -> u64
fn from(v: HvRegisterVsmPartitionStatus) -> u64
Converts to this type from the input type.
source§impl From<u64> for HvRegisterVsmPartitionStatus
impl From<u64> for HvRegisterVsmPartitionStatus
impl Copy for HvRegisterVsmPartitionStatus
Auto Trait Implementations§
impl Freeze for HvRegisterVsmPartitionStatus
impl RefUnwindSafe for HvRegisterVsmPartitionStatus
impl Send for HvRegisterVsmPartitionStatus
impl Sync for HvRegisterVsmPartitionStatus
impl Unpin for HvRegisterVsmPartitionStatus
impl UnwindSafe for HvRegisterVsmPartitionStatus
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
)