use instant::Instant; pub struct Clock { pub last_ticked: Instant, pub has_ticked: bool, pub ticks: u128, } pub struct StopClock(pub bool);