[][src]Crate fermium

Bindings to the SDL2 C library.

Re-exports

pub use platform::*;
pub use stdinc::*;
pub use error::*;
pub use rwops::*;
pub use audio::*;
pub use blendmode::*;
pub use clipboard::*;
pub use cpuinfo::*;
pub use pixels::*;
pub use rect::*;
pub use surface::*;
pub use video::*;
pub use scancode::*;
pub use keycode::*;
pub use keyboard::*;
pub use mouse::*;
pub use joystick::*;
pub use gamecontroller::*;
pub use touch::*;
pub use gesture::*;
pub use events::*;
pub use quit::*;
pub use filesystem::*;
pub use hints::*;
pub use loadso::*;
pub use messagebox::*;
pub use power::*;
pub use renderer::*;
pub use sensor::*;
pub use syswm::*;
pub use timer::*;
pub use version::*;
pub use vulkan::*;

Modules

audio

Audio playback.

blendmode

Support module for pixel blending.

clipboard

Interact with the system clipboard.

cpuinfo

Get some useful info about the current CPU.

error

SDL uses a thread-local buffer to store the current error string.

events

Module for event handling.

filesystem

Filesystem helper functions.

gamecontroller

The SDL "game controller" API lets you view any joystick as being (approximately) an XBox 360 controller.

gesture

Module for touch gestures.

hints

SDL configuration variables

joystick

Module for SDL joystick event handling.

keyboard

Interactions with the keyboard.

keycode
loadso

Module for loading "shared objects" (aka dynamic libraries / DLLs).

messagebox

Allows the creation of message boxes, for short messages to the user.

mouse

Mouse control and interaction.

pixels
platform

Platform based functions.

power

Lets you get power info about the system.

quit

Quit stuff.

rect

Operations for SDL's rectangle type.

renderer

SDL's portable 2D rendering functions.

rwops

Allows for interaction with things you can read and write from.

scancode
sensor

Lets SDL use various sensors (such as the accelerometer in a phone).

stdinc

The "standard include" which almost every other include tends to use.

surface

Module for SDL's in-memory bitmap type.

syswm

SDL's custom system window manager hooks.

timer

Timer related functionality.

touch

Module for touch interface interactions.

version

Lets you get info about the runtime SDL version.

video

Module for interacting with the video subsystem.

vulkan

Functions to make Vulkan and SDL work together.

Macros

pick

Does all our conditional compilation selection.

Enums

c_void

Equivalent to C's void type when used as a pointer.

Type Definitions

c_char
c_double
c_float
c_int
c_long
c_longlong
c_schar
c_short
c_uchar
c_uint
c_ulong
c_ulonglong
c_ushort