pub struct CpuInfo {
pub cache_size: String,
pub cores: usize,
pub cpu_speed: Vec<(usize, f64)>,
pub model_name: String,
pub vendor_id: String,
pub is_fpu: bool,
pub cpuid_level: usize,
}Fields§
§cache_size: String§cores: usize§cpu_speed: Vec<(usize, f64)>§model_name: String§vendor_id: String§is_fpu: bool§cpuid_level: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CpuInfo
impl RefUnwindSafe for CpuInfo
impl Send for CpuInfo
impl Sync for CpuInfo
impl Unpin for CpuInfo
impl UnwindSafe for CpuInfo
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