pub trait Time {
type Frequency: Frequency;
type Ticks: Ticks;
// Required method
fn now(&self) -> Self::Ticks;
}
Expand description
Represents a moment in time, obtained by calling now
.
pub trait Time {
type Frequency: Frequency;
type Ticks: Ticks;
// Required method
fn now(&self) -> Self::Ticks;
}
Represents a moment in time, obtained by calling now
.