#[repr(C)]pub struct CpuPhysicalLocation {
pub package: u32,
pub core: u32,
pub thread: u32,
}Fields§
§package: u32§core: u32§thread: u32Trait Implementations§
Source§impl Clone for CpuPhysicalLocation
impl Clone for CpuPhysicalLocation
Source§fn clone(&self) -> CpuPhysicalLocation
fn clone(&self) -> CpuPhysicalLocation
Returns a duplicate 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 CpuPhysicalLocation
impl Debug for CpuPhysicalLocation
impl Copy for CpuPhysicalLocation
Auto Trait Implementations§
impl Freeze for CpuPhysicalLocation
impl RefUnwindSafe for CpuPhysicalLocation
impl Send for CpuPhysicalLocation
impl Sync for CpuPhysicalLocation
impl Unpin for CpuPhysicalLocation
impl UnwindSafe for CpuPhysicalLocation
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