pub struct ProcessUsageSnapshot {
pub cpu_percent: Option<f32>,
pub working_set_mb: Option<f32>,
pub private_mb: Option<f32>,
}Fields§
§cpu_percent: Option<f32>§working_set_mb: Option<f32>§private_mb: Option<f32>Trait Implementations§
Source§impl Clone for ProcessUsageSnapshot
impl Clone for ProcessUsageSnapshot
Source§fn clone(&self) -> ProcessUsageSnapshot
fn clone(&self) -> ProcessUsageSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProcessUsageSnapshot
impl Debug for ProcessUsageSnapshot
Source§impl Default for ProcessUsageSnapshot
impl Default for ProcessUsageSnapshot
Source§fn default() -> ProcessUsageSnapshot
fn default() -> ProcessUsageSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProcessUsageSnapshot
impl RefUnwindSafe for ProcessUsageSnapshot
impl Send for ProcessUsageSnapshot
impl Sync for ProcessUsageSnapshot
impl Unpin for ProcessUsageSnapshot
impl UnsafeUnpin for ProcessUsageSnapshot
impl UnwindSafe for ProcessUsageSnapshot
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