pub struct CpuTopology {
pub threads_per_core: u8,
pub cores_per_die: u8,
pub dies_per_package: u8,
pub packages: u8,
}Fields§
§threads_per_core: u8§cores_per_die: u8§dies_per_package: u8§packages: u8Auto Trait Implementations§
impl RefUnwindSafe for CpuTopology
impl Send for CpuTopology
impl Sync for CpuTopology
impl Unpin for CpuTopology
impl UnwindSafe for CpuTopology
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