Struct x11::xlib::XCrossingEvent
[−]
[src]
#[repr(C)]pub struct XCrossingEvent { 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 mode: c_int, pub detail: c_int, pub same_screen: Bool, pub focus: Bool, pub state: c_uint, }
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
mode: c_int
detail: c_int
same_screen: Bool
focus: Bool
state: c_uint
Trait Implementations
impl From<XEvent> for XCrossingEvent
[src]
fn from(xevent: XEvent) -> XCrossingEvent
Performs the conversion.
impl<'a> From<&'a XEvent> for XCrossingEvent
[src]
fn from(xevent: &'a XEvent) -> XCrossingEvent
Performs the conversion.
impl Clone for XCrossingEvent
[src]
fn clone(&self) -> XCrossingEvent
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 Copy for XCrossingEvent
[src]
impl PartialEq for XCrossingEvent
[src]
fn eq(&self, __arg_0: &XCrossingEvent) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &XCrossingEvent) -> bool
This method tests for !=
.