pub struct Processor {
pub cores: Cores,
pub model: String,
pub cache_size: u64,
pub bogomips: f32,
}
Expand description
A structure representing host machine cpu
Fields§
§cores: Cores
§model: String
§cache_size: u64
§bogomips: f32
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Processor
impl RefUnwindSafe for Processor
impl Send for Processor
impl Sync for Processor
impl Unpin for Processor
impl UnwindSafe for Processor
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