Trait game_loop::TimeTrait

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

Required Methods§

source

fn now() -> Self

source

fn sub(&self, other: &Self) -> f64

Implementors§