Trait game_loop::TimeTrait

source ·
pub trait TimeTrait: Copy {
    fn now() -> Self;
    fn sub(&self, other: &Self) -> f64;
}

Required Methods§

Implementors§