Struct game_time::step::ConstantStep [] [src]

pub struct ConstantStep { /* fields omitted */ }

A specific, constant time step.

Methods

impl ConstantStep
[src]

Construct a new ConstantStep object with a set time step step.

Construct a new ConstantStep that does not advance game time.

Trait Implementations

impl Debug for ConstantStep
[src]

Formats the value using the given formatter.

impl Clone for ConstantStep
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ConstantStep
[src]

impl Default for ConstantStep
[src]

Returns the "default value" for a type. Read more

impl PartialEq for ConstantStep
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl TimeStep for ConstantStep
[src]

Compute the time step for the next frame.