Module timer

Available on crate feature dep_sdl3 only.

Structs§

Timer

Functions§

add_timer
Constructs a new timer using the boxed closure callback.
delay
Sleeps the current thread for the specified amount of milliseconds.
performance_counter
performance_frequency
ticks
Gets the number of milliseconds elapsed since the timer subsystem was initialized.

Type Aliases§

TimerCallback
Type alias for the timer callback function.