time: clone--
This commit is contained in:
parent
457ae73c50
commit
7d44c11c78
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user