Crate nstd_events
source · [−]Structs
Holds an event’s data.
Enums
Represents an event.
Represents an event loop’s control flow.
Functions
Frees an event loop without running it.
Parameters:
NSTDEventLoop *event_loop - The event loop to free.
Creates a new event loop.
Returns: NSTDEventLoop event_loop - The event loop.
Runs an event loop, never returning.
Note that this function returns on the following operating systems:
- Windows
- Linux
- MacOS
- Android
Parameters:
NSTDEventLoop *event_loop - The event loop to run.
NSTDEventLoopControlFlow(*callback)(NSTDEventData *) - Called once per event.
Type Definitions
An event loop handle.
Represents a window ID.