[][src]Struct sdl2_sys::XKeyEvent

#[repr(C)]pub struct XKeyEvent {
    pub type_: c_int,
    pub serial: c_ulong,
    pub send_event: c_int,
    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: c_int,
}

Fields

type_: c_intserial: c_ulongsend_event: c_intdisplay: *mut Displaywindow: Windowroot: Windowsubwindow: Windowtime: Timex: c_inty: c_intx_root: c_inty_root: c_intstate: c_uintkeycode: c_uintsame_screen: c_int

Trait Implementations

impl Clone for XKeyEvent[src]

impl Copy for XKeyEvent[src]

Auto Trait Implementations

impl !Send for XKeyEvent

impl !Sync for XKeyEvent

impl Unpin 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, 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.