#[repr(C)]pub struct SDL_Point {
pub x: c_int,
pub y: c_int,
}Expand description
The structure that defines a point (using integers).
Available Since: This struct is available since SDL 3.2.0.
See Also: SDL_GetRectEnclosingPoints See Also: SDL_PointInRect
Fields§
§x: c_int§y: c_intTrait Implementations§
impl Copy for SDL_Point
Auto Trait Implementations§
impl Freeze for SDL_Point
impl RefUnwindSafe for SDL_Point
impl Send for SDL_Point
impl Sync for SDL_Point
impl Unpin for SDL_Point
impl UnsafeUnpin for SDL_Point
impl UnwindSafe for SDL_Point
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more