Union pilka_winit::winit::platform::unix::x11::ffi::XEvent[]

#[repr(C)]pub union XEvent {
    pub type_: i32,
    pub any: XAnyEvent,
    pub button: XButtonEvent,
    pub circulate: XCirculateEvent,
    pub circulate_request: XCirculateRequestEvent,
    pub client_message: XClientMessageEvent,
    pub colormap: XColormapEvent,
    pub configure: XConfigureEvent,
    pub configure_request: XConfigureRequestEvent,
    pub create_window: XCreateWindowEvent,
    pub crossing: XCrossingEvent,
    pub destroy_window: XDestroyWindowEvent,
    pub error: XErrorEvent,
    pub expose: XExposeEvent,
    pub focus_change: XFocusChangeEvent,
    pub generic_event_cookie: XGenericEventCookie,
    pub graphics_expose: XGraphicsExposeEvent,
    pub gravity: XGravityEvent,
    pub key: XKeyEvent,
    pub keymap: XKeymapEvent,
    pub map: XMapEvent,
    pub mapping: XMappingEvent,
    pub map_request: XMapRequestEvent,
    pub motion: XMotionEvent,
    pub no_expose: XNoExposeEvent,
    pub property: XPropertyEvent,
    pub reparent: XReparentEvent,
    pub resize_request: XResizeRequestEvent,
    pub selection_clear: XSelectionClearEvent,
    pub selection: XSelectionEvent,
    pub selection_request: XSelectionRequestEvent,
    pub unmap: XUnmapEvent,
    pub visibility: XVisibilityEvent,
    pub pad: [i64; 24],
    pub xf86vm_notify: XF86VidModeNotifyEvent,
    pub xrr_screen_change_notify: XRRScreenChangeNotifyEvent,
    pub xrr_notify: XRRNotifyEvent,
    pub xrr_output_change_notify: XRROutputChangeNotifyEvent,
    pub xrr_crtc_change_notify: XRRCrtcChangeNotifyEvent,
    pub xrr_output_property_notify: XRROutputPropertyNotifyEvent,
    pub xrr_provider_change_notify: XRRProviderChangeNotifyEvent,
    pub xrr_provider_property_notify: XRRProviderPropertyNotifyEvent,
    pub xrr_resource_change_notify: XRRResourceChangeNotifyEvent,
    pub xss_notify: XScreenSaverNotifyEvent,
}

Fields

type_: i32any: XAnyEventbutton: XButtonEventcirculate: XCirculateEventcirculate_request: XCirculateRequestEventclient_message: XClientMessageEventcolormap: XColormapEventconfigure: XConfigureEventconfigure_request: XConfigureRequestEventcreate_window: XCreateWindowEventcrossing: XCrossingEventdestroy_window: XDestroyWindowEventerror: XErrorEventexpose: XExposeEventfocus_change: XFocusChangeEventgeneric_event_cookie: XGenericEventCookiegraphics_expose: XGraphicsExposeEventgravity: XGravityEventkey: XKeyEventkeymap: XKeymapEventmap: XMapEventmapping: XMappingEventmap_request: XMapRequestEventmotion: XMotionEventno_expose: XNoExposeEventproperty: XPropertyEventreparent: XReparentEventresize_request: XResizeRequestEventselection_clear: XSelectionClearEventselection: XSelectionEventselection_request: XSelectionRequestEventunmap: XUnmapEventvisibility: XVisibilityEventpad: [i64; 24]xf86vm_notify: XF86VidModeNotifyEventxrr_screen_change_notify: XRRScreenChangeNotifyEventxrr_notify: XRRNotifyEventxrr_output_change_notify: XRROutputChangeNotifyEventxrr_crtc_change_notify: XRRCrtcChangeNotifyEventxrr_output_property_notify: XRROutputPropertyNotifyEventxrr_provider_change_notify: XRRProviderChangeNotifyEventxrr_provider_property_notify: XRRProviderPropertyNotifyEventxrr_resource_change_notify: XRRResourceChangeNotifyEventxss_notify: XScreenSaverNotifyEvent

Implementations

impl XEvent

pub fn get_type(&self) -> i32

Trait Implementations

impl AsMut<XAnyEvent> for XEvent

impl AsMut<XButtonEvent> for XEvent

impl AsMut<XCirculateEvent> for XEvent

impl AsMut<XCirculateRequestEvent> for XEvent

impl AsMut<XClientMessageEvent> for XEvent

impl AsMut<XColormapEvent> for XEvent

impl AsMut<XConfigureEvent> for XEvent

impl AsMut<XConfigureRequestEvent> for XEvent

impl AsMut<XCreateWindowEvent> for XEvent

impl AsMut<XCrossingEvent> for XEvent

impl AsMut<XDestroyWindowEvent> for XEvent

impl AsMut<XErrorEvent> for XEvent

impl AsMut<XExposeEvent> for XEvent

impl AsMut<XF86VidModeNotifyEvent> for XEvent

impl AsMut<XFocusChangeEvent> for XEvent

impl AsMut<XGenericEventCookie> for XEvent

impl AsMut<XGraphicsExposeEvent> for XEvent

impl AsMut<XGravityEvent> for XEvent

impl AsMut<XKeyEvent> for XEvent

impl AsMut<XKeymapEvent> for XEvent

impl AsMut<XMapEvent> for XEvent

impl AsMut<XMapRequestEvent> for XEvent

impl AsMut<XMappingEvent> for XEvent

impl AsMut<XMotionEvent> for XEvent

impl AsMut<XNoExposeEvent> for XEvent

impl AsMut<XPropertyEvent> for XEvent

impl AsMut<XRRCrtcChangeNotifyEvent> for XEvent

impl AsMut<XRRNotifyEvent> for XEvent

impl AsMut<XRROutputChangeNotifyEvent> for XEvent

impl AsMut<XRROutputPropertyNotifyEvent> for XEvent

impl AsMut<XRRProviderChangeNotifyEvent> for XEvent

impl AsMut<XRRProviderPropertyNotifyEvent> for XEvent

impl AsMut<XRRResourceChangeNotifyEvent> for XEvent

impl AsMut<XRRScreenChangeNotifyEvent> for XEvent

impl AsMut<XReparentEvent> for XEvent

impl AsMut<XResizeRequestEvent> for XEvent

impl AsMut<XScreenSaverNotifyEvent> for XEvent

impl AsMut<XSelectionClearEvent> for XEvent

impl AsMut<XSelectionEvent> for XEvent

impl AsMut<XSelectionRequestEvent> for XEvent

impl AsMut<XUnmapEvent> for XEvent

impl AsMut<XVisibilityEvent> for XEvent

impl AsRef<XAnyEvent> for XEvent

impl AsRef<XButtonEvent> for XEvent

impl AsRef<XCirculateEvent> for XEvent

impl AsRef<XCirculateRequestEvent> for XEvent

impl AsRef<XClientMessageEvent> for XEvent

impl AsRef<XColormapEvent> for XEvent

impl AsRef<XConfigureEvent> for XEvent

impl AsRef<XConfigureRequestEvent> for XEvent

impl AsRef<XCreateWindowEvent> for XEvent

impl AsRef<XCrossingEvent> for XEvent

impl AsRef<XDestroyWindowEvent> for XEvent

impl AsRef<XErrorEvent> for XEvent

impl AsRef<XExposeEvent> for XEvent

impl AsRef<XF86VidModeNotifyEvent> for XEvent

impl AsRef<XFocusChangeEvent> for XEvent

impl AsRef<XGenericEventCookie> for XEvent

impl AsRef<XGraphicsExposeEvent> for XEvent

impl AsRef<XGravityEvent> for XEvent

impl AsRef<XKeyEvent> for XEvent

impl AsRef<XKeymapEvent> for XEvent

impl AsRef<XMapEvent> for XEvent

impl AsRef<XMapRequestEvent> for XEvent

impl AsRef<XMappingEvent> for XEvent

impl AsRef<XMotionEvent> for XEvent

impl AsRef<XNoExposeEvent> for XEvent

impl AsRef<XPropertyEvent> for XEvent

impl AsRef<XRRCrtcChangeNotifyEvent> for XEvent

impl AsRef<XRRNotifyEvent> for XEvent

impl AsRef<XRROutputChangeNotifyEvent> for XEvent

impl AsRef<XRROutputPropertyNotifyEvent> for XEvent

impl AsRef<XRRProviderChangeNotifyEvent> for XEvent

impl AsRef<XRRProviderPropertyNotifyEvent> for XEvent

impl AsRef<XRRResourceChangeNotifyEvent> for XEvent

impl AsRef<XRRScreenChangeNotifyEvent> for XEvent

impl AsRef<XReparentEvent> for XEvent

impl AsRef<XResizeRequestEvent> for XEvent

impl AsRef<XScreenSaverNotifyEvent> for XEvent

impl AsRef<XSelectionClearEvent> for XEvent

impl AsRef<XSelectionEvent> for XEvent

impl AsRef<XSelectionRequestEvent> for XEvent

impl AsRef<XUnmapEvent> for XEvent

impl AsRef<XVisibilityEvent> for XEvent

impl Clone for XEvent

impl Copy for XEvent

impl Debug for XEvent

impl<'a> From<&'a XAnyEvent> for XEvent

impl<'a> From<&'a XButtonEvent> for XEvent

impl<'a> From<&'a XCirculateEvent> for XEvent

impl<'a> From<&'a XCirculateRequestEvent> for XEvent

impl<'a> From<&'a XClientMessageEvent> for XEvent

impl<'a> From<&'a XColormapEvent> for XEvent

impl<'a> From<&'a XConfigureEvent> for XEvent

impl<'a> From<&'a XConfigureRequestEvent> for XEvent

impl<'a> From<&'a XCreateWindowEvent> for XEvent

impl<'a> From<&'a XCrossingEvent> for XEvent

impl<'a> From<&'a XDestroyWindowEvent> for XEvent

impl<'a> From<&'a XErrorEvent> for XEvent

impl<'a> From<&'a XEvent> for XCirculateRequestEvent

impl<'a> From<&'a XEvent> for XRRScreenChangeNotifyEvent

impl<'a> From<&'a XEvent> for XGraphicsExposeEvent

impl<'a> From<&'a XEvent> for XMappingEvent

impl<'a> From<&'a XEvent> for XRRResourceChangeNotifyEvent

impl<'a> From<&'a XEvent> for XCreateWindowEvent

impl<'a> From<&'a XEvent> for XMotionEvent

impl<'a> From<&'a XEvent> for XCirculateEvent

impl<'a> From<&'a XEvent> for XRRCrtcChangeNotifyEvent

impl<'a> From<&'a XEvent> for XKeymapEvent

impl<'a> From<&'a XEvent> for XRROutputPropertyNotifyEvent

impl<'a> From<&'a XEvent> for XVisibilityEvent

impl<'a> From<&'a XEvent> for XNoExposeEvent

impl<'a> From<&'a XEvent> for XGravityEvent

impl<'a> From<&'a XEvent> for XConfigureEvent

impl<'a> From<&'a XEvent> for XConfigureRequestEvent

impl<'a> From<&'a XEvent> for XFocusChangeEvent

impl<'a> From<&'a XEvent> for XCrossingEvent

impl<'a> From<&'a XEvent> for XReparentEvent

impl<'a> From<&'a XEvent> for XGenericEventCookie

impl<'a> From<&'a XEvent> for XUnmapEvent

impl<'a> From<&'a XEvent> for XSelectionClearEvent

impl<'a> From<&'a XEvent> for XExposeEvent

impl<'a> From<&'a XEvent> for XSelectionEvent

impl<'a> From<&'a XEvent> for XDestroyWindowEvent

impl<'a> From<&'a XEvent> for XAnyEvent

impl<'a> From<&'a XEvent> for XResizeRequestEvent

impl<'a> From<&'a XEvent> for XErrorEvent

impl<'a> From<&'a XEvent> for XPropertyEvent

impl<'a> From<&'a XEvent> for XSelectionRequestEvent

impl<'a> From<&'a XEvent> for XClientMessageEvent

impl<'a> From<&'a XEvent> for XKeyEvent

impl<'a> From<&'a XEvent> for XMapRequestEvent

impl<'a> From<&'a XEvent> for XButtonEvent

impl<'a> From<&'a XEvent> for XColormapEvent

impl<'a> From<&'a XEvent> for XMapEvent

impl<'a> From<&'a XEvent> for XRRProviderChangeNotifyEvent

impl<'a> From<&'a XEvent> for XRROutputChangeNotifyEvent

impl<'a> From<&'a XEvent> for XRRNotifyEvent

impl<'a> From<&'a XEvent> for XRRProviderPropertyNotifyEvent

impl<'a> From<&'a XExposeEvent> for XEvent

impl<'a> From<&'a XF86VidModeNotifyEvent> for XEvent

impl<'a> From<&'a XFocusChangeEvent> for XEvent

impl<'a> From<&'a XGenericEventCookie> for XEvent

impl<'a> From<&'a XGraphicsExposeEvent> for XEvent

impl<'a> From<&'a XGravityEvent> for XEvent

impl<'a> From<&'a XKeyEvent> for XEvent

impl<'a> From<&'a XKeymapEvent> for XEvent

impl<'a> From<&'a XMapEvent> for XEvent

impl<'a> From<&'a XMapRequestEvent> for XEvent

impl<'a> From<&'a XMappingEvent> for XEvent

impl<'a> From<&'a XMotionEvent> for XEvent

impl<'a> From<&'a XNoExposeEvent> for XEvent

impl<'a> From<&'a XPropertyEvent> for XEvent

impl<'a> From<&'a XRRCrtcChangeNotifyEvent> for XEvent

impl<'a> From<&'a XRRNotifyEvent> for XEvent

impl<'a> From<&'a XRROutputChangeNotifyEvent> for XEvent

impl<'a> From<&'a XRROutputPropertyNotifyEvent> for XEvent

impl<'a> From<&'a XRRProviderChangeNotifyEvent> for XEvent

impl<'a> From<&'a XRRProviderPropertyNotifyEvent> for XEvent

impl<'a> From<&'a XRRResourceChangeNotifyEvent> for XEvent

impl<'a> From<&'a XRRScreenChangeNotifyEvent> for XEvent

impl<'a> From<&'a XReparentEvent> for XEvent

impl<'a> From<&'a XResizeRequestEvent> for XEvent

impl<'a> From<&'a XScreenSaverNotifyEvent> for XEvent

impl<'a> From<&'a XSelectionClearEvent> for XEvent

impl<'a> From<&'a XSelectionEvent> for XEvent

impl<'a> From<&'a XSelectionRequestEvent> for XEvent

impl<'a> From<&'a XUnmapEvent> for XEvent

impl<'a> From<&'a XVisibilityEvent> for XEvent

impl From<XAnyEvent> for XEvent

impl From<XButtonEvent> for XEvent

impl From<XCirculateEvent> for XEvent

impl From<XCirculateRequestEvent> for XEvent

impl From<XClientMessageEvent> for XEvent

impl From<XColormapEvent> for XEvent

impl From<XConfigureEvent> for XEvent

impl From<XConfigureRequestEvent> for XEvent

impl From<XCreateWindowEvent> for XEvent

impl From<XCrossingEvent> for XEvent

impl From<XDestroyWindowEvent> for XEvent

impl From<XErrorEvent> for XEvent

impl From<XEvent> for XAnyEvent

impl From<XEvent> for XFocusChangeEvent

impl From<XEvent> for XColormapEvent

impl From<XEvent> for XSelectionClearEvent

impl From<XEvent> for XRROutputPropertyNotifyEvent

impl From<XEvent> for XButtonEvent

impl From<XEvent> for XCirculateEvent

impl From<XEvent> for XClientMessageEvent

impl From<XEvent> for XVisibilityEvent

impl From<XEvent> for XSelectionRequestEvent

impl From<XEvent> for XCrossingEvent

impl From<XEvent> for XGenericEventCookie

impl From<XEvent> for XCreateWindowEvent

impl From<XEvent> for XGravityEvent

impl From<XEvent> for XKeyEvent

impl From<XEvent> for XExposeEvent

impl From<XEvent> for XSelectionEvent

impl From<XEvent> for XRRScreenChangeNotifyEvent

impl From<XEvent> for XErrorEvent

impl From<XEvent> for XReparentEvent

impl From<XEvent> for XCirculateRequestEvent

impl From<XEvent> for XDestroyWindowEvent

impl From<XEvent> for XRRProviderPropertyNotifyEvent

impl From<XEvent> for XRRNotifyEvent

impl From<XEvent> for XPropertyEvent

impl From<XEvent> for XRRCrtcChangeNotifyEvent

impl From<XEvent> for XRRResourceChangeNotifyEvent

impl From<XEvent> for XGraphicsExposeEvent

impl From<XEvent> for XKeymapEvent

impl From<XEvent> for XMotionEvent

impl From<XEvent> for XResizeRequestEvent

impl From<XEvent> for XRROutputChangeNotifyEvent

impl From<XEvent> for XConfigureRequestEvent

impl From<XEvent> for XRRProviderChangeNotifyEvent

impl From<XEvent> for XConfigureEvent

impl From<XEvent> for XMapEvent

impl From<XEvent> for XNoExposeEvent

impl From<XEvent> for XMapRequestEvent

impl From<XEvent> for XUnmapEvent

impl From<XEvent> for XMappingEvent

impl From<XExposeEvent> for XEvent

impl From<XF86VidModeNotifyEvent> for XEvent

impl From<XFocusChangeEvent> for XEvent

impl From<XGenericEventCookie> for XEvent

impl From<XGraphicsExposeEvent> for XEvent

impl From<XGravityEvent> for XEvent

impl From<XKeyEvent> for XEvent

impl From<XKeymapEvent> for XEvent

impl From<XMapEvent> for XEvent

impl From<XMapRequestEvent> for XEvent

impl From<XMappingEvent> for XEvent

impl From<XMotionEvent> for XEvent

impl From<XNoExposeEvent> for XEvent

impl From<XPropertyEvent> for XEvent

impl From<XRRCrtcChangeNotifyEvent> for XEvent

impl From<XRRNotifyEvent> for XEvent

impl From<XRROutputChangeNotifyEvent> for XEvent

impl From<XRROutputPropertyNotifyEvent> for XEvent

impl From<XRRProviderChangeNotifyEvent> for XEvent

impl From<XRRProviderPropertyNotifyEvent> for XEvent

impl From<XRRResourceChangeNotifyEvent> for XEvent

impl From<XRRScreenChangeNotifyEvent> for XEvent

impl From<XReparentEvent> for XEvent

impl From<XResizeRequestEvent> for XEvent

impl From<XScreenSaverNotifyEvent> for XEvent

impl From<XSelectionClearEvent> for XEvent

impl From<XSelectionEvent> for XEvent

impl From<XSelectionRequestEvent> for XEvent

impl From<XUnmapEvent> for XEvent

impl From<XVisibilityEvent> for XEvent

Auto Trait Implementations

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.