Crate rust_raylib
source ·Expand description
rust-raylib
Unsafe bindings for raylib
and safe wrappers for them.
Currently targets raylib 4.5.
Some features (like logging and text formatting) are excluded from the wrappers, because there are more safe and idiomatic solutions available for them.
The minor version of the crate follows raylib’s major and minor versions (i.e. 0.45.X for raylib 4.5) It will only be increased when updated to a new raylib version. The patch version is increased when new fixes and/or improvements are introduced. They may contain breaking changes!
Re-exports
pub use ffi::RAYLIB_VERSION;
pub use ffi::RAYLIB_VERSION_MAJOR;
pub use ffi::RAYLIB_VERSION_MINOR;
pub use ffi::RAYLIB_VERSION_PATCH;
pub use ffi::ConfigFlags;
pub use ffi::GamepadAxis;
pub use ffi::GamepadButton;
pub use ffi::Gesture;
pub use ffi::KeyboardKey;
pub use ffi::MouseButton;
pub use ffi::MouseCursor;
pub use ffi::TraceLogLevel;
Modules
- Audio
- Collision checks between different shapes
- Color type and color constants
- Drawing traits and functions
- Raw ffi bindings
- Math types
- 3D models
- Shader type
- Fonts and text related types and functions
- Images and textures
- VR related types
Structs
- Main raylib handle