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_
serial
send_event
display
window
root
subwindow
time
x
y
x_root
y_root
state
is_hint
same_screen

Trait Implementations

impl From<XEvent> for XMotionEvent

fn from(e: XEvent) -> XMotionEvent

Derived Implementations

impl PartialEq for XMotionEvent

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

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

impl Copy for XMotionEvent

impl Clone for XMotionEvent

fn clone(&self) -> XMotionEvent

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