[][src]Trait aimc_hal::clock::Clock

pub trait Clock: Sync {
    fn elapsed(&self) -> Duration;
}

A source of time.

Required methods

fn elapsed(&self) -> Duration

The amount of time that has elapsed since some arbitrary point in time (e.g. when the program started).

Loading content...

Implementors

impl Clock for DummyClock[src]

Loading content...