Struct x11_dl::xlib::XMotionEvent
[−]
[src]
#[repr(C)]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 AsMut<XMotionEvent> for XEvent[src]
fn as_mut(&mut self) -> &mut XMotionEvent[src]
Performs the conversion.
impl AsRef<XMotionEvent> for XEvent[src]
fn as_ref(&self) -> &XMotionEvent[src]
Performs the conversion.
impl From<XMotionEvent> for XEvent[src]
fn from(other: XMotionEvent) -> XEvent[src]
Performs the conversion.
impl<'a> From<&'a XMotionEvent> for XEvent[src]
fn from(other: &'a XMotionEvent) -> XEvent[src]
Performs the conversion.
impl From<XEvent> for XMotionEvent[src]
fn from(xevent: XEvent) -> XMotionEvent[src]
Performs the conversion.
impl<'a> From<&'a XEvent> for XMotionEvent[src]
fn from(xevent: &'a XEvent) -> XMotionEvent[src]
Performs the conversion.
impl Debug for XMotionEvent[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for XMotionEvent[src]
fn clone(&self) -> XMotionEvent[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for XMotionEvent[src]
impl PartialEq for XMotionEvent[src]
fn eq(&self, __arg_0: &XMotionEvent) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &XMotionEvent) -> bool[src]
This method tests for !=.