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

#[repr(C)]
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]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl Debug for XKeyEvent
[src]

[src]

Formats the value using the given formatter.

impl Clone for XKeyEvent
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for XKeyEvent
[src]

impl PartialEq for XKeyEvent
[src]

[src]

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

[src]

This method tests for !=.