Crate sdl2_mt

Source

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§

AudioSubsystem
EventPump
A thread-safe type that encapsulates SDL event-pumping functions.
EventSubsystem
GameControllerSubsystem
HapticSubsystem
JoystickSubsystem
Sdl
The SDL context type. Initialize with sdl2::init().
Sdl2Mt
TimerSubsystem
UiThreadExited
VideoSubsystem

Enums§

Error
IntegerOrSdlError
A given integer was so big that its representation as a C integer would be negative.
Sdl2Message

Functions§

clear_error
get_error
init
Initializes an Sdl2Mt instance, which also initializes the Sdl2 library.
set_error
set_error_from_code