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