diff --git a/src/run.rs b/src/run.rs index 1f6123a..ae0836a 100644 --- a/src/run.rs +++ b/src/run.rs @@ -1,7 +1,7 @@ use crate::timer::{TimerFixed,Realtime,Paused,Unpaused}; use crate::integer::Time; -#[derive(Clone,Debug)] +#[derive(Clone,Copy,Debug)] pub enum FlagReason{ Anticheat, StyleChange, @@ -42,14 +42,14 @@ impl std::fmt::Display for Error{ } impl std::error::Error for Error{} -#[derive(Clone,Debug)] +#[derive(Clone,Copy,Debug)] enum RunState{ Created, Started{timer:TimerFixed}, Finished{timer:TimerFixed}, } -#[derive(Clone,Debug)] +#[derive(Clone,Copy,Debug)] pub struct Run{ state:RunState, flagged:Option,