[][src]Trait embedded_time::Clock

pub trait Clock: Sized + Period {
    type Rep: TimeRep;
    fn now() -> Instant<Self>;
}

Associated Types

type Rep: TimeRep

The type of the internal representation of time

Loading content...

Required methods

fn now() -> Instant<Self>

Get the current Instant

Loading content...

Implementors

Loading content...