CoarseSw

Type Alias CoarseSw 

Source
pub type CoarseSw = Stopwatch<Instant>;
Available on crate feature coarsetime only.
Expand description

Alias to Stopwatch using the coarsetime crate’s Instant type.

Aliased Type§

pub struct CoarseSw {
    pub elapsed: Duration,
    pub start: Option<Instant>,
}

Fields§

§elapsed: Duration

Accumulated elapsed time.

§start: Option<Instant>

The instant at which the stopwatch was started, if it is running. Otherwise, None.