Trait TimeTrait
game_loop
pub trait TimeTrait: Copy { pub fn now() -> Self; pub fn sub(&self, other: &Self) -> f64; }
pub fn now() -> Self
pub fn sub(&self, other: &Self) -> f64
impl TimeTrait for Time