pub struct CpuInstant { /* private fields */ }
Expand description
Like std::time::Instant
, but with information about the cpu usage stats.
Implementations§
Source§impl CpuInstant
impl CpuInstant
Trait Implementations§
Source§impl Clone for CpuInstant
impl Clone for CpuInstant
Source§fn clone(&self) -> CpuInstant
fn clone(&self) -> CpuInstant
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 moreSource§impl Debug for CpuInstant
impl Debug for CpuInstant
Source§impl Sub for CpuInstant
impl Sub for CpuInstant
impl Copy for CpuInstant
Auto Trait Implementations§
impl Freeze for CpuInstant
impl RefUnwindSafe for CpuInstant
impl Send for CpuInstant
impl Sync for CpuInstant
impl Unpin for CpuInstant
impl UnwindSafe for CpuInstant
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