Struct sdl2_sys::SDL_Rect [] [src]

#[repr(C)]
pub struct SDL_Rect { pub x: c_int, pub y: c_int, pub w: c_int, pub h: c_int, }

\brief A rectangle, with the origin at the upper left.

\sa SDL_RectEmpty \sa SDL_RectEquals \sa SDL_HasIntersection \sa SDL_IntersectRect \sa SDL_UnionRect \sa SDL_EnclosePoints

Fields

Trait Implementations

impl Debug for SDL_Rect
[src]

[src]

Formats the value using the given formatter.

impl Copy for SDL_Rect
[src]

impl Clone for SDL_Rect
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more