pub struct HvInternalActivityRegister(/* private fields */);Implementations§
Source§impl HvInternalActivityRegister
impl HvInternalActivityRegister
Sourcepub const fn startup_suspend(&self) -> bool
pub const fn startup_suspend(&self) -> bool
Bits: 0..1
Sourcepub const fn with_startup_suspend_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_startup_suspend_checked(self, value: bool) -> Result<Self, ()>
Bits: 0..1
Sourcepub const fn with_startup_suspend(self, value: bool) -> Self
pub const fn with_startup_suspend(self, value: bool) -> Self
Bits: 0..1
Sourcepub const fn set_startup_suspend(&mut self, value: bool)
pub const fn set_startup_suspend(&mut self, value: bool)
Bits: 0..1
Sourcepub const fn set_startup_suspend_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_startup_suspend_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 0..1
Sourcepub const fn halt_suspend(&self) -> bool
pub const fn halt_suspend(&self) -> bool
Bits: 1..2
Sourcepub const fn with_halt_suspend_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_halt_suspend_checked(self, value: bool) -> Result<Self, ()>
Bits: 1..2
Sourcepub const fn with_halt_suspend(self, value: bool) -> Self
pub const fn with_halt_suspend(self, value: bool) -> Self
Bits: 1..2
Sourcepub const fn set_halt_suspend(&mut self, value: bool)
pub const fn set_halt_suspend(&mut self, value: bool)
Bits: 1..2
Sourcepub const fn idle_suspend(&self) -> bool
pub const fn idle_suspend(&self) -> bool
Bits: 2..3
Sourcepub const fn with_idle_suspend_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_idle_suspend_checked(self, value: bool) -> Result<Self, ()>
Bits: 2..3
Sourcepub const fn with_idle_suspend(self, value: bool) -> Self
pub const fn with_idle_suspend(self, value: bool) -> Self
Bits: 2..3
Sourcepub const fn set_idle_suspend(&mut self, value: bool)
pub const fn set_idle_suspend(&mut self, value: bool)
Bits: 2..3
Sourcepub const fn with_reserved_checked(self, value: u64) -> Result<Self, ()>
pub const fn with_reserved_checked(self, value: u64) -> Result<Self, ()>
Bits: 3..64
Sourcepub const fn with_reserved(self, value: u64) -> Self
pub const fn with_reserved(self, value: u64) -> Self
Bits: 3..64
Sourcepub const fn set_reserved(&mut self, value: u64)
pub const fn set_reserved(&mut self, value: u64)
Bits: 3..64
Trait Implementations§
Source§impl Clone for HvInternalActivityRegister
impl Clone for HvInternalActivityRegister
Source§fn clone(&self) -> HvInternalActivityRegister
fn clone(&self) -> HvInternalActivityRegister
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 HvInternalActivityRegister
impl Debug for HvInternalActivityRegister
Source§impl Default for HvInternalActivityRegister
impl Default for HvInternalActivityRegister
Source§impl From<HvInternalActivityRegister> for u64
impl From<HvInternalActivityRegister> for u64
Source§fn from(v: HvInternalActivityRegister) -> u64
fn from(v: HvInternalActivityRegister) -> u64
Converts to this type from the input type.
Source§impl From<u64> for HvInternalActivityRegister
impl From<u64> for HvInternalActivityRegister
impl Copy for HvInternalActivityRegister
Auto Trait Implementations§
impl Freeze for HvInternalActivityRegister
impl RefUnwindSafe for HvInternalActivityRegister
impl Send for HvInternalActivityRegister
impl Sync for HvInternalActivityRegister
impl Unpin for HvInternalActivityRegister
impl UnwindSafe for HvInternalActivityRegister
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