Struct sdl2_sys::rect::SDL_Point [] [src]

pub struct SDL_Point {
    pub x: c_int,
    pub y: c_int,
}

A structure that defines a two dimensional point.

Fields

x
y

Trait Implementations

Derived Implementations

impl Hash for SDL_Point

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Debug for SDL_Point

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for SDL_Point

fn eq(&self, __arg_0: &SDL_Point) -> bool

fn ne(&self, __arg_0: &SDL_Point) -> bool

impl Eq for SDL_Point

impl Clone for SDL_Point

fn clone(&self) -> SDL_Point

fn clone_from(&mut self, source: &Self)

impl Copy for SDL_Point