Timer

Trait Timer 

Source
pub trait Timer {
    // Required methods
    fn reset(&mut self);
    fn elapsed(&self) -> Duration;
}

Required Methods§

Source

fn reset(&mut self)

Source

fn elapsed(&self) -> Duration

Implementors§