Struct x86defs::apic::ApicVersion
source · pub struct ApicVersion(/* private fields */);
Implementations§
source§impl ApicVersion
impl ApicVersion
sourcepub const fn with_version(self, value: u8) -> Self
pub const fn with_version(self, value: u8) -> Self
Bits: 0..8
sourcepub fn set_version(&mut self, value: u8)
pub fn set_version(&mut self, value: u8)
Bits: 0..8
sourcepub const fn max_lvt_entry(&self) -> u8
pub const fn max_lvt_entry(&self) -> u8
Bits: 16..24
sourcepub const fn with_max_lvt_entry(self, value: u8) -> Self
pub const fn with_max_lvt_entry(self, value: u8) -> Self
Bits: 16..24
sourcepub fn set_max_lvt_entry(&mut self, value: u8)
pub fn set_max_lvt_entry(&mut self, value: u8)
Bits: 16..24
sourcepub const fn eoi_broadcast_suppression(&self) -> bool
pub const fn eoi_broadcast_suppression(&self) -> bool
Bits: 24..25
sourcepub const fn with_eoi_broadcast_suppression(self, value: bool) -> Self
pub const fn with_eoi_broadcast_suppression(self, value: bool) -> Self
Bits: 24..25
sourcepub fn set_eoi_broadcast_suppression(&mut self, value: bool)
pub fn set_eoi_broadcast_suppression(&mut self, value: bool)
Bits: 24..25
Trait Implementations§
source§impl Clone for ApicVersion
impl Clone for ApicVersion
source§fn clone(&self) -> ApicVersion
fn clone(&self) -> ApicVersion
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 ApicVersion
impl Debug for ApicVersion
source§impl Default for ApicVersion
impl Default for ApicVersion
source§impl From<ApicVersion> for u32
impl From<ApicVersion> for u32
source§fn from(v: ApicVersion) -> u32
fn from(v: ApicVersion) -> u32
Converts to this type from the input type.
source§impl From<u32> for ApicVersion
impl From<u32> for ApicVersion
impl Copy for ApicVersion
Auto Trait Implementations§
impl Freeze for ApicVersion
impl RefUnwindSafe for ApicVersion
impl Send for ApicVersion
impl Sync for ApicVersion
impl Unpin for ApicVersion
impl UnwindSafe for ApicVersion
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
)