Struct hvdef::HvRegisterVsmVpSecureVtlConfig
source · pub struct HvRegisterVsmVpSecureVtlConfig(/* private fields */);
Implementations§
source§impl HvRegisterVsmVpSecureVtlConfig
impl HvRegisterVsmVpSecureVtlConfig
sourcepub const fn mbec_enabled(&self) -> bool
pub const fn mbec_enabled(&self) -> bool
Bits: 0..1
sourcepub const fn with_mbec_enabled(self, value: bool) -> Self
pub const fn with_mbec_enabled(self, value: bool) -> Self
Bits: 0..1
sourcepub fn set_mbec_enabled(&mut self, value: bool)
pub fn set_mbec_enabled(&mut self, value: bool)
Bits: 0..1
sourcepub const fn tlb_locked(&self) -> bool
pub const fn tlb_locked(&self) -> bool
Bits: 1..2
sourcepub const fn with_tlb_locked(self, value: bool) -> Self
pub const fn with_tlb_locked(self, value: bool) -> Self
Bits: 1..2
sourcepub fn set_tlb_locked(&mut self, value: bool)
pub fn set_tlb_locked(&mut self, value: bool)
Bits: 1..2
sourcepub const fn supervisor_shadow_stack_enabled(&self) -> bool
pub const fn supervisor_shadow_stack_enabled(&self) -> bool
Bits: 2..3
sourcepub const fn with_supervisor_shadow_stack_enabled(self, value: bool) -> Self
pub const fn with_supervisor_shadow_stack_enabled(self, value: bool) -> Self
Bits: 2..3
sourcepub fn set_supervisor_shadow_stack_enabled(&mut self, value: bool)
pub fn set_supervisor_shadow_stack_enabled(&mut self, value: bool)
Bits: 2..3
sourcepub const fn hardware_hvpt_enabled(&self) -> bool
pub const fn hardware_hvpt_enabled(&self) -> bool
Bits: 3..4
sourcepub const fn with_hardware_hvpt_enabled(self, value: bool) -> Self
pub const fn with_hardware_hvpt_enabled(self, value: bool) -> Self
Bits: 3..4
sourcepub fn set_hardware_hvpt_enabled(&mut self, value: bool)
pub fn set_hardware_hvpt_enabled(&mut self, value: bool)
Bits: 3..4
Trait Implementations§
source§impl Clone for HvRegisterVsmVpSecureVtlConfig
impl Clone for HvRegisterVsmVpSecureVtlConfig
source§fn clone(&self) -> HvRegisterVsmVpSecureVtlConfig
fn clone(&self) -> HvRegisterVsmVpSecureVtlConfig
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<HvRegisterVsmVpSecureVtlConfig> for u64
impl From<HvRegisterVsmVpSecureVtlConfig> for u64
source§fn from(v: HvRegisterVsmVpSecureVtlConfig) -> u64
fn from(v: HvRegisterVsmVpSecureVtlConfig) -> u64
Converts to this type from the input type.
source§impl From<u64> for HvRegisterVsmVpSecureVtlConfig
impl From<u64> for HvRegisterVsmVpSecureVtlConfig
impl Copy for HvRegisterVsmVpSecureVtlConfig
Auto Trait Implementations§
impl Freeze for HvRegisterVsmVpSecureVtlConfig
impl RefUnwindSafe for HvRegisterVsmVpSecureVtlConfig
impl Send for HvRegisterVsmVpSecureVtlConfig
impl Sync for HvRegisterVsmVpSecureVtlConfig
impl Unpin for HvRegisterVsmVpSecureVtlConfig
impl UnwindSafe for HvRegisterVsmVpSecureVtlConfig
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
)