Struct sysinfo::Processor [] [src]

pub struct Processor {
    // some fields omitted
}

Methods

impl Processor
[src]

fn get_cpu_usage(&self) -> f32

fn get_name<'a>(&'a self) -> &'a str

Trait Implementations

impl Debug for Processor
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.