Module sdl2::rect [] [src]

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.