Struct x11_dl::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
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
                           
                           
                           
                           keycode: c_uint
                           
                           
                           
                           same_screen: Bool
                           
            Trait Implementations
impl AsMut<XKeyEvent> for XEvent[src]
impl AsRef<XKeyEvent> for XEvent[src]
impl From<XKeyEvent> for XEvent[src]
impl<'a> From<&'a XKeyEvent> for XEvent[src]
impl From<XEvent> for XKeyEvent[src]
impl<'a> From<&'a XEvent> for XKeyEvent[src]
impl Debug for XKeyEvent[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for XKeyEvent[src]
fn clone(&self) -> XKeyEvent[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more