[][src]Struct x11_dl::xlib::XKeyEvent

#[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_intserial: c_ulongsend_event: Booldisplay: *mut Displaywindow: Windowroot: Windowsubwindow: Windowtime: Timex: c_inty: c_intx_root: c_inty_root: c_intstate: c_uintkeycode: c_uintsame_screen: Bool

Trait Implementations

impl AsMut<XKeyEvent> for XEvent[src]

impl AsRef<XKeyEvent> for XEvent[src]

impl Clone for XKeyEvent[src]

impl Copy for XKeyEvent[src]

impl Debug for XKeyEvent[src]

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

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

impl From<XEvent> for XKeyEvent[src]

impl From<XKeyEvent> for XEvent[src]

impl PartialEq<XKeyEvent> for XKeyEvent[src]

impl StructuralPartialEq for XKeyEvent[src]

Auto Trait Implementations

impl RefUnwindSafe for XKeyEvent

impl !Send for XKeyEvent

impl !Sync for XKeyEvent

impl Unpin for XKeyEvent

impl UnwindSafe for XKeyEvent

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.