#[repr(C)]
pub struct CpuPhysicalLocation { pub package: u32, pub core: u32, pub thread: u32, }
Expand description

Information about physical location of the processor.

Fields

package: u32

Zero-based physical package number that identifies the cartridge of the processor.

core: u32

Zero-based physical core number within package of the processor.

thread: u32

Zero-based logical thread number within core of the processor.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.