Module tetra::time

source ·
Expand description

Functions and types relating to measuring and manipulating time.

Functions

Converts a std::time::Duration to an f64. This is less accurate, but usually more useful.
Converts an f64 to a std::time::Duration.
Gets the update tick rate of the application, in ticks per second.
Sets the update tick rate of the application, in ticks per second.