Expand description
\brief A rectangle, with the origin at the upper left (integer).
\sa SDL_RectEmpty \sa SDL_RectEquals \sa SDL_HasIntersection \sa SDL_IntersectRect \sa SDL_UnionRect \sa SDL_EnclosePoints
Fields
x: c_int
y: c_int
w: c_int
h: c_int
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SDL_Rect
impl Send for SDL_Rect
impl Sync for SDL_Rect
impl Unpin for SDL_Rect
impl UnwindSafe for SDL_Rect
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more