Modules§
- audio
- Audio Functions
- clipboard
- controller
- cpuinfo
- event
- Event Handling
- filesystem
- gesture
- haptic
- Haptic Functions
- hint
- joystick
- keyboard
- libc
- libc - Raw FFI bindings to platforms’ system libraries
- log
- macros
- messagebox
- mouse
- pixels
- rect
- Rectangles and points.
- render
- 2D accelerated rendering
- rwops
- surface
- sys
- timer
- touch
- version
- Querying SDL Version
- video
Structs§
- Audio
Subsystem - Event
Pump - A thread-safe type that encapsulates SDL event-pumping functions.
- Event
Subsystem - Game
Controller Subsystem - Haptic
Subsystem - Joystick
Subsystem - Sdl
- The SDL context type. Initialize with
sdl2::init()
. - Sdl2Mt
- Timer
Subsystem - UiThread
Exited - Video
Subsystem
Enums§
- Error
- Integer
OrSdl Error - A given integer was so big that its representation as a C integer would be negative.
- Sdl2
Message
Functions§
- clear_
error - get_
error - init
- Initializes an
Sdl2Mt
instance, which also initializes theSdl2
library. - set_
error - set_
error_ from_ code