Expand description
DMC - DirectMedia Crate
This is an attempt at an SDL2 rewrite in Rust. The end goal is to get rid of the dependency on SDL2’s DLL for Rust apps.
Re-exports§
pub use semver::Semver;pub use display::Display;pub use game_input_device::GameInputDevice;pub use game_input_device::Dpad;pub use game_input_device::Minmax;pub use game_input_device::SignedAxis;pub use game_input_device::UnsignedAxis;pub use event::EventQueue;pub use event::Clipboard;pub use event::TextInput;pub use battery::BatteryState;pub use battery::BatteryStatus;pub use timeout::Timeout;pub use option_alternatives::Decision;pub use option_alternatives::Knowledge;pub use option_alternatives::Decision::*;pub use option_alternatives::Knowledge::*;pub use vec::*;
Modules§
- battery
- Getting the device’s battery’s state, if any
- display
- The platform’s display backend, windows, and OpenGL.
- event
- Platform-specific event handling.
- game_
input_ device - Get input from gamepads, joysticks, steering wheels, and others.
- option_
alternatives - Alternative
Optiontypes, which carry a more specific meaning. - semver
- The Semver (Semantic versioning) struct.
- timeout
- The Timeout enum, which is ither a fixed duration or infinite.
- vec
- TODO this needs to be merged with fate-rs