Struct x11::xlib::XMotionEvent [] [src]

pub struct XMotionEvent {
    pub type_: c_int,
    pub serial: c_ulong,
    pub send_event: Bool,
    pub display: *mut Display,
    pub window: Window,
    pub root: Window,
    pub subwindow: Window,
    pub time: Time,
    pub x: c_int,
    pub y: c_int,
    pub x_root: c_int,
    pub y_root: c_int,
    pub state: c_uint,
    pub is_hint: c_char,
    pub same_screen: Bool,
}

Fields

type_: c_int serial: c_ulong send_event: Bool display: *mut Display window: Window root: Window subwindow: Window time: Time x: c_int y: c_int x_root: c_int y_root: c_int state: c_uint is_hint: c_char same_screen: Bool

Trait Implementations

impl PartialEq for XMotionEvent
[src]

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

This method tests for self and other values to be equal, and is used by ==. Read more

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

This method tests for !=.

impl Copy for XMotionEvent
[src]

impl Clone for XMotionEvent
[src]

fn clone(&self) -> XMotionEvent

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl From<XEvent> for XMotionEvent
[src]

fn from(e: XEvent) -> XMotionEvent

Performs the conversion.