#[repr(C)]pub struct SDL_Point {
pub x: c_int,
pub y: c_int,
}
Expand description
The structure that defines a point (integer)
Fields§
§x: c_int
§y: c_int
Trait Implementations§
source§impl Ord for SDL_Point
impl Ord for SDL_Point
source§impl PartialEq<SDL_Point> for SDL_Point
impl PartialEq<SDL_Point> for SDL_Point
source§impl PartialOrd<SDL_Point> for SDL_Point
impl PartialOrd<SDL_Point> for SDL_Point
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SDL_Point
impl Eq for SDL_Point
impl StructuralEq for SDL_Point
impl StructuralPartialEq for SDL_Point
Auto Trait Implementations§
impl RefUnwindSafe for SDL_Point
impl Send for SDL_Point
impl Sync for SDL_Point
impl Unpin 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