#[repr(C)]
pub struct cpuinfo_package { pub name: [c_char; 48], pub processor_start: u32, pub processor_count: u32, pub core_start: u32, pub core_count: u32, pub cluster_start: u32, pub cluster_count: u32, }

Fields

name: [c_char; 48]

SoC or processor chip model name

processor_start: u32

Index of the first logical processor on this physical package

processor_count: u32

Number of logical processors on this physical package

core_start: u32

Index of the first core on this physical package

core_count: u32

Number of cores on this physical package

cluster_start: u32

Index of the first cluster of cores on this physical package

cluster_count: u32

Number of clusters of cores on this physical package

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. 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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

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.