Struct x11_dl::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

Trait Implementations

impl From<XEvent> for XKeyEvent
[src]

[]

Performs the conversion.

impl<'a> From<&'a XEvent> for XKeyEvent
[src]

[]

Performs the conversion.

impl PartialEq for XKeyEvent
[src]

[]

This method tests for self and other values to be equal, and is used by ==. Read more

[]

This method tests for !=.

impl Copy for XKeyEvent
[src]

impl Clone for XKeyEvent
[src]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more