Struct hvdef::HvSynicStimerConfig
source · pub struct HvSynicStimerConfig(/* private fields */);
Implementations§
source§impl HvSynicStimerConfig
impl HvSynicStimerConfig
sourcepub const fn with_enabled(self, value: bool) -> Self
pub const fn with_enabled(self, value: bool) -> Self
Bits: 0..1
sourcepub fn set_enabled(&mut self, value: bool)
pub fn set_enabled(&mut self, value: bool)
Bits: 0..1
sourcepub const fn with_periodic(self, value: bool) -> Self
pub const fn with_periodic(self, value: bool) -> Self
Bits: 1..2
sourcepub fn set_periodic(&mut self, value: bool)
pub fn set_periodic(&mut self, value: bool)
Bits: 1..2
sourcepub const fn auto_enable(&self) -> bool
pub const fn auto_enable(&self) -> bool
Bits: 3..4
sourcepub const fn with_auto_enable(self, value: bool) -> Self
pub const fn with_auto_enable(self, value: bool) -> Self
Bits: 3..4
sourcepub fn set_auto_enable(&mut self, value: bool)
pub fn set_auto_enable(&mut self, value: bool)
Bits: 3..4
sourcepub const fn apic_vector(&self) -> u8
pub const fn apic_vector(&self) -> u8
Bits: 4..12
sourcepub const fn with_apic_vector(self, value: u8) -> Self
pub const fn with_apic_vector(self, value: u8) -> Self
Bits: 4..12
sourcepub fn set_apic_vector(&mut self, value: u8)
pub fn set_apic_vector(&mut self, value: u8)
Bits: 4..12
sourcepub const fn direct_mode(&self) -> bool
pub const fn direct_mode(&self) -> bool
Bits: 12..13
sourcepub const fn with_direct_mode(self, value: bool) -> Self
pub const fn with_direct_mode(self, value: bool) -> Self
Bits: 12..13
sourcepub fn set_direct_mode(&mut self, value: bool)
pub fn set_direct_mode(&mut self, value: bool)
Bits: 12..13
Trait Implementations§
source§impl Clone for HvSynicStimerConfig
impl Clone for HvSynicStimerConfig
source§fn clone(&self) -> HvSynicStimerConfig
fn clone(&self) -> HvSynicStimerConfig
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 HvSynicStimerConfig
impl Debug for HvSynicStimerConfig
source§impl Default for HvSynicStimerConfig
impl Default for HvSynicStimerConfig
source§impl From<HvSynicStimerConfig> for u64
impl From<HvSynicStimerConfig> for u64
source§fn from(v: HvSynicStimerConfig) -> u64
fn from(v: HvSynicStimerConfig) -> u64
Converts to this type from the input type.
source§impl From<u64> for HvSynicStimerConfig
impl From<u64> for HvSynicStimerConfig
impl Copy for HvSynicStimerConfig
Auto Trait Implementations§
impl Freeze for HvSynicStimerConfig
impl RefUnwindSafe for HvSynicStimerConfig
impl Send for HvSynicStimerConfig
impl Sync for HvSynicStimerConfig
impl Unpin for HvSynicStimerConfig
impl UnwindSafe for HvSynicStimerConfig
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
)