From 9cdb354cba6ed4bed5df4864e9ce8e1b7052cfce Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 31 Jul 2024 16:09:29 -0700 Subject: [PATCH] dbg --- src/run.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/run.rs b/src/run.rs index 8d8bc63..d74569b 100644 --- a/src/run.rs +++ b/src/run.rs @@ -1,6 +1,7 @@ use crate::timer::{TimerFixed,Realtime,Paused,Unpaused}; use crate::integer::Time; +#[derive(Clone,Debug)] pub enum FlagReason{ Anticheat, StyleChange, @@ -41,12 +42,14 @@ impl std::fmt::Display for Error{ } impl std::error::Error for Error{} +#[derive(Clone,Debug)] enum RunState{ Created, Started{timer:TimerFixed}, Finished{timer:TimerFixed}, } +#[derive(Clone,Debug)] pub struct Run{ state:RunState, flagged:Option,