Struct x86defs::apic::XApicClusterLogicalId
source · pub struct XApicClusterLogicalId(/* private fields */);
Implementations§
source§impl XApicClusterLogicalId
impl XApicClusterLogicalId
sourcepub const fn logical_id(&self) -> u8
pub const fn logical_id(&self) -> u8
Bits: 0..4
sourcepub const fn with_logical_id(self, value: u8) -> Self
pub const fn with_logical_id(self, value: u8) -> Self
Bits: 0..4
sourcepub fn set_logical_id(&mut self, value: u8)
pub fn set_logical_id(&mut self, value: u8)
Bits: 0..4
sourcepub const fn cluster_id(&self) -> u8
pub const fn cluster_id(&self) -> u8
Bits: 4..8
sourcepub const fn with_cluster_id(self, value: u8) -> Self
pub const fn with_cluster_id(self, value: u8) -> Self
Bits: 4..8
sourcepub fn set_cluster_id(&mut self, value: u8)
pub fn set_cluster_id(&mut self, value: u8)
Bits: 4..8
Trait Implementations§
source§impl Clone for XApicClusterLogicalId
impl Clone for XApicClusterLogicalId
source§fn clone(&self) -> XApicClusterLogicalId
fn clone(&self) -> XApicClusterLogicalId
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 XApicClusterLogicalId
impl Debug for XApicClusterLogicalId
source§impl Default for XApicClusterLogicalId
impl Default for XApicClusterLogicalId
source§impl From<XApicClusterLogicalId> for u8
impl From<XApicClusterLogicalId> for u8
source§fn from(v: XApicClusterLogicalId) -> u8
fn from(v: XApicClusterLogicalId) -> u8
Converts to this type from the input type.
source§impl From<u8> for XApicClusterLogicalId
impl From<u8> for XApicClusterLogicalId
impl Copy for XApicClusterLogicalId
Auto Trait Implementations§
impl Freeze for XApicClusterLogicalId
impl RefUnwindSafe for XApicClusterLogicalId
impl Send for XApicClusterLogicalId
impl Sync for XApicClusterLogicalId
impl Unpin for XApicClusterLogicalId
impl UnwindSafe for XApicClusterLogicalId
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
)