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]
impl AsMut<XMotionEvent> for XEventfn as_mut(&mut self) -> &mut XMotionEvent[src]
fn as_mut(&mut self) -> &mut XMotionEventPerforms the conversion.
impl AsRef<XMotionEvent> for XEvent[src]
impl AsRef<XMotionEvent> for XEventfn as_ref(&self) -> &XMotionEvent[src]
fn as_ref(&self) -> &XMotionEventPerforms the conversion.
impl From<XMotionEvent> for XEvent[src]
impl From<XMotionEvent> for XEventfn from(other: XMotionEvent) -> XEvent[src]
fn from(other: XMotionEvent) -> XEventPerforms the conversion.
impl<'a> From<&'a XMotionEvent> for XEvent[src]
impl<'a> From<&'a XMotionEvent> for XEventfn from(other: &'a XMotionEvent) -> XEvent[src]
fn from(other: &'a XMotionEvent) -> XEventPerforms the conversion.
impl From<XEvent> for XMotionEvent[src]
impl From<XEvent> for XMotionEventfn from(xevent: XEvent) -> XMotionEvent[src]
fn from(xevent: XEvent) -> XMotionEventPerforms the conversion.
impl<'a> From<&'a XEvent> for XMotionEvent[src]
impl<'a> From<&'a XEvent> for XMotionEventfn from(xevent: &'a XEvent) -> XMotionEvent[src]
fn from(xevent: &'a XEvent) -> XMotionEventPerforms the conversion.
impl Debug for XMotionEvent[src]
impl Debug for XMotionEventfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for XMotionEvent[src]
impl Clone for XMotionEventfn clone(&self) -> XMotionEvent[src]
fn clone(&self) -> XMotionEventReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for XMotionEvent[src]
impl Copy for XMotionEventimpl PartialEq for XMotionEvent[src]
impl PartialEq for XMotionEventfn eq(&self, other: &XMotionEvent) -> bool[src]
fn eq(&self, other: &XMotionEvent) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &XMotionEvent) -> bool[src]
fn ne(&self, other: &XMotionEvent) -> boolThis method tests for !=.
Auto Trait Implementations
impl !Send for XMotionEvent
impl !Send for XMotionEventimpl !Sync for XMotionEvent
impl !Sync for XMotionEvent