time: clone--

This commit is contained in:
Victoria Fischer 2024-12-14 14:15:28 +01:00
parent 457ae73c50
commit 7d44c11c78

View File

@ -1,7 +1,7 @@
use core::time::Duration; use core::time::Duration;
use std::time::Instant; use std::time::Instant;
#[derive(Debug, Clone, Copy)] #[derive(Debug)]
pub struct Periodically { pub struct Periodically {
last_run: Instant, last_run: Instant,
duration: Duration duration: Duration