Module timer
Available on crate feature
dep_sdl3
only.Structs§
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§
- Timer
Callback - Type alias for the timer callback function.