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_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_active_vtl_checked(self, value: u8) -> Result<Self, ()>
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 const fn set_active_vtl(&mut self, value: u8)
pub const 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_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_active_mbec_enabled_checked( self, value: bool, ) -> Result<Self, ()>
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 const fn set_active_mbec_enabled(&mut self, value: bool)
pub const fn set_active_mbec_enabled(&mut self, value: bool)
Bits: 4..5
Sourcepub const fn set_active_mbec_enabled_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_active_mbec_enabled_checked( &mut self, value: bool, ) -> Result<(), ()>
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_checked(self, value: u16) -> Result<Self, ()>
pub const fn with_reserved_mbz0_checked(self, value: u16) -> Result<Self, ()>
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 const fn set_reserved_mbz0(&mut self, value: u16)
pub const 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_checked(self, value: u16) -> Result<Self, ()>
pub const fn with_enabled_vtl_set_checked(self, value: u16) -> Result<Self, ()>
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 const fn set_enabled_vtl_set(&mut self, value: u16)
pub const fn set_enabled_vtl_set(&mut self, value: u16)
Bits: 16..32
Sourcepub const fn set_enabled_vtl_set_checked(
&mut self,
value: u16,
) -> Result<(), ()>
pub const fn set_enabled_vtl_set_checked( &mut self, value: u16, ) -> Result<(), ()>
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_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_reserved_mbz1_checked(self, value: u32) -> Result<Self, ()>
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 const fn set_reserved_mbz1(&mut self, value: u32)
pub const 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 duplicate 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