[−][src]Module timberwolf::timing
the subsystem that governs the timing of the game engine
Structs
Clock | keeps track of the passing of time from a recorded instant |
RevLimiter | an object that provides a means of controlling the rate at which a loop is run |
Functions
duration_to_seconds | convert a duration to a 64-bit float representing a number of seconds (not multithread-friendly) NOTE: this will be replaced with Duration::as_seconds_f64 as soon as issue github.com/rust-lang/rust/issues/54361 is stabilized. |
seconds_to_duration | convert a floating point number of seconds to a duration (not multithread-friendly) NOTE: this will be replaced with Duration::from_seconds_f64 as soon as issue github.com/rust-lang/rust/issues/54361 is stabilized. |