Crate sdl2[−][src]
Re-exports
pub extern crate libc; |
pub extern crate sdl2_sys as sys; |
Modules
audio | Audio Functions |
clipboard | |
controller | |
cpuinfo | |
event | Event Handling |
filesystem | |
gesture | |
haptic | Haptic Functions |
hint | |
joystick | |
keyboard | |
log | |
macros | |
messagebox | |
mouse | |
pixels | |
rect | Rectangles and points. |
render | 2D accelerated rendering |
rwops | |
surface | |
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 |
TimerSubsystem | |
VideoSubsystem |
Enums
Error | |
IntegerOrSdlError | A given integer was so big that its representation as a C integer would be negative. |
Functions
clear_error | |
get_error | |
init | Initializes the SDL library. This must be called before using any other SDL function. |
set_error | |
set_error_from_code |