Struct hvdef::HvRegisterVsmVpStatus
source · pub struct HvRegisterVsmVpStatus(/* private fields */);
Implementations§
source§impl HvRegisterVsmVpStatus
impl HvRegisterVsmVpStatus
sourcepub const fn active_vtl(&self) -> u8
pub const fn active_vtl(&self) -> u8
Bits: 0..4
sourcepub const fn with_active_vtl(self, value: u8) -> Self
pub const fn with_active_vtl(self, value: u8) -> Self
Bits: 0..4
sourcepub fn set_active_vtl(&mut self, value: u8)
pub fn set_active_vtl(&mut self, value: u8)
Bits: 0..4
sourcepub const fn active_mbec_enabled(&self) -> bool
pub const fn active_mbec_enabled(&self) -> bool
Bits: 4..5
sourcepub const fn with_active_mbec_enabled(self, value: bool) -> Self
pub const fn with_active_mbec_enabled(self, value: bool) -> Self
Bits: 4..5
sourcepub fn set_active_mbec_enabled(&mut self, value: bool)
pub fn set_active_mbec_enabled(&mut self, value: bool)
Bits: 4..5
sourcepub const fn reserved_mbz0(&self) -> u16
pub const fn reserved_mbz0(&self) -> u16
Bits: 5..16
sourcepub const fn with_reserved_mbz0(self, value: u16) -> Self
pub const fn with_reserved_mbz0(self, value: u16) -> Self
Bits: 5..16
sourcepub fn set_reserved_mbz0(&mut self, value: u16)
pub fn set_reserved_mbz0(&mut self, value: u16)
Bits: 5..16
sourcepub const fn enabled_vtl_set(&self) -> u16
pub const fn enabled_vtl_set(&self) -> u16
Bits: 16..32
sourcepub const fn with_enabled_vtl_set(self, value: u16) -> Self
pub const fn with_enabled_vtl_set(self, value: u16) -> Self
Bits: 16..32
sourcepub fn set_enabled_vtl_set(&mut self, value: u16)
pub fn set_enabled_vtl_set(&mut self, value: u16)
Bits: 16..32
sourcepub const fn reserved_mbz1(&self) -> u32
pub const fn reserved_mbz1(&self) -> u32
Bits: 32..64
sourcepub const fn with_reserved_mbz1(self, value: u32) -> Self
pub const fn with_reserved_mbz1(self, value: u32) -> Self
Bits: 32..64
sourcepub fn set_reserved_mbz1(&mut self, value: u32)
pub fn set_reserved_mbz1(&mut self, value: u32)
Bits: 32..64
Trait Implementations§
source§impl Clone for HvRegisterVsmVpStatus
impl Clone for HvRegisterVsmVpStatus
source§fn clone(&self) -> HvRegisterVsmVpStatus
fn clone(&self) -> HvRegisterVsmVpStatus
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 HvRegisterVsmVpStatus
impl Debug for HvRegisterVsmVpStatus
source§impl Default for HvRegisterVsmVpStatus
impl Default for HvRegisterVsmVpStatus
source§impl From<HvRegisterVsmVpStatus> for u64
impl From<HvRegisterVsmVpStatus> for u64
source§fn from(v: HvRegisterVsmVpStatus) -> u64
fn from(v: HvRegisterVsmVpStatus) -> u64
Converts to this type from the input type.
source§impl From<u64> for HvRegisterVsmVpStatus
impl From<u64> for HvRegisterVsmVpStatus
impl Copy for HvRegisterVsmVpStatus
Auto Trait Implementations§
impl Freeze for HvRegisterVsmVpStatus
impl RefUnwindSafe for HvRegisterVsmVpStatus
impl Send for HvRegisterVsmVpStatus
impl Sync for HvRegisterVsmVpStatus
impl Unpin for HvRegisterVsmVpStatus
impl UnwindSafe for HvRegisterVsmVpStatus
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
)