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