Struct libstatgrab_sys::sg_cpu_percents
source · #[repr(C)]pub struct sg_cpu_percents {
pub user: f64,
pub kernel: f64,
pub idle: f64,
pub iowait: f64,
pub swap: f64,
pub nice: f64,
pub time_taken: time_t,
}
Fields§
§user: f64
§kernel: f64
§idle: f64
§iowait: f64
§swap: f64
§nice: f64
§time_taken: time_t
Trait Implementations§
source§impl Clone for sg_cpu_percents
impl Clone for sg_cpu_percents
source§fn clone(&self) -> sg_cpu_percents
fn clone(&self) -> sg_cpu_percents
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more