Struct sysinfo::Processor [−][src]
pub struct Processor { /* fields omitted */ }
Expand description
Struct containing a processor information.
Trait Implementations
impl ProcessorExt for Processor
[src]
impl ProcessorExt for Processor
[src]fn get_frequency(&self) -> u64
[src]
fn get_frequency(&self) -> u64
[src]Returns the processor frequency in MHz.
fn get_cpu_usage(&self) -> f32
[src]
fn get_cpu_usage(&self) -> f32
[src]Returns this processor’s usage. Read more
fn get_vendor_id(&self) -> &str
[src]
fn get_vendor_id(&self) -> &str
[src]Returns the processor’s vendor id. Read more
Auto Trait Implementations
impl RefUnwindSafe for Processor
impl Send for Processor
impl Sync for Processor
impl Unpin for Processor
impl UnwindSafe for Processor
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T