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

Trait Implementations

impl From<XEvent> for XButtonEvent

fn from(e: XEvent) -> XButtonEvent

Derived Implementations

impl PartialEq for XButtonEvent

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

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

impl Copy for XButtonEvent

impl Clone for XButtonEvent

fn clone(&self) -> XButtonEvent

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