Struct x11::xlib::XKeyEvent [−] [src]

pub struct XKeyEvent {
    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 keycode: c_uint,
    pub same_screen: Bool,
}

Fields

type_
serial
send_event
display
window
root
subwindow
time
x
y
x_root
y_root
state
keycode
same_screen

Trait Implementations

impl From<XEvent> for XKeyEvent

fn from(e: XEvent) -> XKeyEvent

Derived Implementations

impl PartialEq for XKeyEvent

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

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

impl Copy for XKeyEvent

impl Clone for XKeyEvent

fn clone(&self) -> XKeyEvent

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