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.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".