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