[][src]Trait game_time::step::TimeStep

pub trait TimeStep {
    fn time_step(&self, wall_time: &FloatDuration) -> FloatDuration;
}

Compute elapsed game time for a frame.

Required Methods

Compute the time step for the next frame.

Implementors

impl TimeStep for ConstantStep
[src]

impl TimeStep for VariableStep
[src]

impl<'a, C: ?Sized> TimeStep for FixedStep<'a, C> where
    C: 'a + FrameCount
[src]