Struct monotonic_clock::Clock [−][src]
pub struct Clock { /* fields omitted */ }
Implementations
impl Clock
[src]
impl Clock
[src]pub fn new() -> Clock
[src]
pub fn new_with_wall_time(now: Instant) -> Clock
[src]
pub fn tick<S: TimeStep>(&mut self, step: &mut S)
[src]
pub fn tick_with_wall_time<S: TimeStep>(&mut self, step: &mut S, now: Instant)
[src]
pub fn tick_with_wall_time_delta<S: TimeStep>(
&mut self,
step: &mut S,
delta: Duration
)
[src]
&mut self,
step: &mut S,
delta: Duration
)