implement debug

This commit is contained in:
Quaternions 2024-07-31 16:10:15 -07:00
parent 1751356e3c
commit 63cc55d20c

View File

@ -5,7 +5,7 @@ pub struct Paused;
#[derive(Clone,Copy,Debug)]
pub struct Unpaused;
pub trait PauseState:Copy{
pub trait PauseState:Copy+std::fmt::Debug{
const IS_PAUSED:bool;
fn new()->Self;
}
@ -57,7 +57,7 @@ impl Scaled{
}
}
pub trait TimerState:Copy{
pub trait TimerState:Copy+std::fmt::Debug{
fn get_time(&self,time:Time)->Time;
fn set_time(&mut self,time:Time,new_time:Time);
fn get_offset(&self)->Time;