Struct x86defs::cpuid::ProcessorTopologyDefinitionEcx
source · pub struct ProcessorTopologyDefinitionEcx(/* private fields */);
Implementations§
source§impl ProcessorTopologyDefinitionEcx
impl ProcessorTopologyDefinitionEcx
sourcepub const fn with_node_id(self, value: u8) -> Self
pub const fn with_node_id(self, value: u8) -> Self
Bits: 0..8
sourcepub fn set_node_id(&mut self, value: u8)
pub fn set_node_id(&mut self, value: u8)
Bits: 0..8
sourcepub const fn nodes_per_processor(&self) -> u8
pub const fn nodes_per_processor(&self) -> u8
Bits: 8..11
sourcepub const fn with_nodes_per_processor(self, value: u8) -> Self
pub const fn with_nodes_per_processor(self, value: u8) -> Self
Bits: 8..11
sourcepub fn set_nodes_per_processor(&mut self, value: u8)
pub fn set_nodes_per_processor(&mut self, value: u8)
Bits: 8..11
Trait Implementations§
source§impl Clone for ProcessorTopologyDefinitionEcx
impl Clone for ProcessorTopologyDefinitionEcx
source§fn clone(&self) -> ProcessorTopologyDefinitionEcx
fn clone(&self) -> ProcessorTopologyDefinitionEcx
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 From<ProcessorTopologyDefinitionEcx> for u32
impl From<ProcessorTopologyDefinitionEcx> for u32
source§fn from(v: ProcessorTopologyDefinitionEcx) -> u32
fn from(v: ProcessorTopologyDefinitionEcx) -> u32
Converts to this type from the input type.
source§impl From<u32> for ProcessorTopologyDefinitionEcx
impl From<u32> for ProcessorTopologyDefinitionEcx
impl Copy for ProcessorTopologyDefinitionEcx
Auto Trait Implementations§
impl Freeze for ProcessorTopologyDefinitionEcx
impl RefUnwindSafe for ProcessorTopologyDefinitionEcx
impl Send for ProcessorTopologyDefinitionEcx
impl Sync for ProcessorTopologyDefinitionEcx
impl Unpin for ProcessorTopologyDefinitionEcx
impl UnwindSafe for ProcessorTopologyDefinitionEcx
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
)