[−][src]Trait game_time::step::TimeStep
Compute elapsed game time for a frame.
Required Methods
fn time_step(&self, wall_time: &FloatDuration) -> FloatDuration
Compute the time step for the next frame.
Implementors
impl TimeStep for ConstantStep
[src]
impl TimeStep for ConstantStep
fn time_step(&self, _: &FloatDuration) -> FloatDuration
[src]
fn time_step(&self, _: &FloatDuration) -> FloatDuration
impl TimeStep for VariableStep
[src]
impl TimeStep for VariableStep
fn time_step(&self, wall_time: &FloatDuration) -> FloatDuration
[src]
fn time_step(&self, wall_time: &FloatDuration) -> FloatDuration
impl<'a, C: ?Sized> TimeStep for FixedStep<'a, C> where
C: 'a + FrameCount,
[src]
impl<'a, C: ?Sized> TimeStep for FixedStep<'a, C> where
C: 'a + FrameCount,
fn time_step(&self, _: &FloatDuration) -> FloatDuration
[src]
fn time_step(&self, _: &FloatDuration) -> FloatDuration