#[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_tTrait 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 duplicate 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 moreSource§impl Debug for sg_cpu_percents
impl Debug for sg_cpu_percents
impl Copy for sg_cpu_percents
Auto Trait Implementations§
impl Freeze for sg_cpu_percents
impl RefUnwindSafe for sg_cpu_percents
impl Send for sg_cpu_percents
impl Sync for sg_cpu_percents
impl Unpin for sg_cpu_percents
impl UnwindSafe for sg_cpu_percents
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