Struct hvdef::HvRegisterGuestVsmPartitionConfig
source · pub struct HvRegisterGuestVsmPartitionConfig(/* private fields */);
Implementations§
source§impl HvRegisterGuestVsmPartitionConfig
impl HvRegisterGuestVsmPartitionConfig
sourcepub const fn maximum_vtl(&self) -> u8
pub const fn maximum_vtl(&self) -> u8
Bits: 0..4
sourcepub const fn with_maximum_vtl(self, value: u8) -> Self
pub const fn with_maximum_vtl(self, value: u8) -> Self
Bits: 0..4
sourcepub fn set_maximum_vtl(&mut self, value: u8)
pub fn set_maximum_vtl(&mut self, value: u8)
Bits: 0..4
sourcepub const fn with_reserved(self, value: u64) -> Self
pub const fn with_reserved(self, value: u64) -> Self
Bits: 4..64
sourcepub fn set_reserved(&mut self, value: u64)
pub fn set_reserved(&mut self, value: u64)
Bits: 4..64
Trait Implementations§
source§impl Clone for HvRegisterGuestVsmPartitionConfig
impl Clone for HvRegisterGuestVsmPartitionConfig
source§fn clone(&self) -> HvRegisterGuestVsmPartitionConfig
fn clone(&self) -> HvRegisterGuestVsmPartitionConfig
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<HvRegisterGuestVsmPartitionConfig> for u64
impl From<HvRegisterGuestVsmPartitionConfig> for u64
source§fn from(v: HvRegisterGuestVsmPartitionConfig) -> u64
fn from(v: HvRegisterGuestVsmPartitionConfig) -> u64
Converts to this type from the input type.
source§impl From<u64> for HvRegisterGuestVsmPartitionConfig
impl From<u64> for HvRegisterGuestVsmPartitionConfig
impl Copy for HvRegisterGuestVsmPartitionConfig
Auto Trait Implementations§
impl Freeze for HvRegisterGuestVsmPartitionConfig
impl RefUnwindSafe for HvRegisterGuestVsmPartitionConfig
impl Send for HvRegisterGuestVsmPartitionConfig
impl Sync for HvRegisterGuestVsmPartitionConfig
impl Unpin for HvRegisterGuestVsmPartitionConfig
impl UnwindSafe for HvRegisterGuestVsmPartitionConfig
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
)