pub struct SubMsTimerCheckpoint {
pub label: String,
pub since_last_ns: u64,
pub since_start_ns: u64,
pub is_stop: bool,
}Expand description
A single named milestone captured by SubMsTimer::mark /
SubMsTimer::lap / SubMsTimer::stop.
Fields§
§label: StringLabel passed to mark / lap / stop.
since_last_ns: u64Nanoseconds between this checkpoint and the previous (or start).
since_start_ns: u64Nanoseconds between this checkpoint and start.
is_stop: booltrue if this checkpoint stopped the timer.
Trait Implementations§
Source§impl Clone for SubMsTimerCheckpoint
impl Clone for SubMsTimerCheckpoint
Source§fn clone(&self) -> SubMsTimerCheckpoint
fn clone(&self) -> SubMsTimerCheckpoint
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 SubMsTimerCheckpoint
impl Debug for SubMsTimerCheckpoint
Source§impl PartialEq for SubMsTimerCheckpoint
impl PartialEq for SubMsTimerCheckpoint
Source§fn eq(&self, other: &SubMsTimerCheckpoint) -> bool
fn eq(&self, other: &SubMsTimerCheckpoint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SubMsTimerCheckpoint
impl StructuralPartialEq for SubMsTimerCheckpoint
Auto Trait Implementations§
impl Freeze for SubMsTimerCheckpoint
impl RefUnwindSafe for SubMsTimerCheckpoint
impl Send for SubMsTimerCheckpoint
impl Sync for SubMsTimerCheckpoint
impl Unpin for SubMsTimerCheckpoint
impl UnsafeUnpin for SubMsTimerCheckpoint
impl UnwindSafe for SubMsTimerCheckpoint
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