pub type SystemSw = Stopwatch<SystemTime>;Available on crate feature
std only.Expand description
Alias to Stopwatch using the standard library’s
SystemTime type.
Aliased Type§
pub struct SystemSw {
pub elapsed: Duration,
pub start: Option<SystemTime>,
}Fields§
§elapsed: DurationAccumulated elapsed time.
start: Option<SystemTime>The instant at which the stopwatch was started, if it is running.
Otherwise, None.