implement debug
This commit is contained in:
parent
1751356e3c
commit
63cc55d20c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user