Struct hvdef::HvInternalActivityRegister
source · 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(self, value: bool) -> Self
pub const fn with_startup_suspend(self, value: bool) -> Self
Bits: 0..1
sourcepub fn set_startup_suspend(&mut self, value: bool)
pub fn set_startup_suspend(&mut self, value: bool)
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(self, value: bool) -> Self
pub const fn with_halt_suspend(self, value: bool) -> Self
Bits: 1..2
sourcepub fn set_halt_suspend(&mut self, value: bool)
pub 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(self, value: bool) -> Self
pub const fn with_idle_suspend(self, value: bool) -> Self
Bits: 2..3
sourcepub fn set_idle_suspend(&mut self, value: bool)
pub fn set_idle_suspend(&mut self, value: bool)
Bits: 2..3
sourcepub const fn with_reserved(self, value: u64) -> Self
pub const fn with_reserved(self, value: u64) -> Self
Bits: 3..64
sourcepub fn set_reserved(&mut self, value: u64)
pub 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 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 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
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
)