Type Alias governor::clock::DefaultClock
source · pub type DefaultClock = QuantaClock;
Expand description
The default clock using quanta
for extremely fast timekeeping (at a 100ns resolution).
Aliased Type§
struct DefaultClock { /* private fields */ }
Trait Implementations
source§impl Clock for QuantaClock
impl Clock for QuantaClock
source§impl Clone for QuantaClock
impl Clone for QuantaClock
source§fn clone(&self) -> QuantaClock
fn clone(&self) -> QuantaClock
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 QuantaClock
impl Debug for QuantaClock
source§impl Default for QuantaClock
impl Default for QuantaClock
source§impl ReasonablyRealtime for QuantaClock
impl ReasonablyRealtime for QuantaClock
source§fn reference_point(&self) -> Self::Instant
fn reference_point(&self) -> Self::Instant
Returns a reference point at the start of an operation.