Docs.rs
sdl2-0.32.1
sdl2 0.32.1
Docs.rs crate page
MIT
Links
Documentation
Repository
Crates.io
Source
Owners
bvssvni
AngryLawyer
Cobrand
Dependencies
bitflags ^1
normal
c_vec >=1.0, <=1.3
normal
lazy_static ^1
normal
libc ^0.2
normal
num ^0.1
normal
rand ^0.6
normal
sdl2-sys ^0.32
normal
Versions
37.37%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Module rect
Structs
Functions
?
Module
sdl2
::
rect
source
·
[
−
]
Expand description
Rectangles and points.
Structs
Point
Immutable point type, consisting of x and y.
Rect
A (non-empty) rectangle.
Functions
max_int_value
The maximal integer value that can be used for rectangles.
min_int_value
The minimal integer value that can be used for rectangle positions and points.