Trait rtic_time::monotonic::TimerQueueBasedInstant
source · pub trait TimerQueueBasedInstant: Ord + Copy {
type Ticks;
// Required methods
fn from_ticks(ticks: Self::Ticks) -> Self;
fn ticks(self) -> Self::Ticks;
}
Expand description
An instant that can be used in TimerQueueBasedMonotonic
.
Required Associated Types§
Required Methods§
sourcefn from_ticks(ticks: Self::Ticks) -> Self
fn from_ticks(ticks: Self::Ticks) -> Self
Convert from ticks to the instant
Object Safety§
This trait is not object safe.