[][src]Union amethyst_rendy::rendy::wsi::winit::os::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

Methods

impl XEvent[src]

pub fn get_type(&self) -> i32[src]

Trait Implementations

impl Copy for XEvent[src]

impl Debug for XEvent[src]

impl Clone for XEvent[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl AsRef<XRROutputChangeNotifyEvent> for XEvent[src]

impl AsRef<XMappingEvent> for XEvent[src]

impl AsRef<XCirculateEvent> for XEvent[src]

impl AsRef<XResizeRequestEvent> for XEvent[src]

impl AsRef<XClientMessageEvent> for XEvent[src]

impl AsRef<XGraphicsExposeEvent> for XEvent[src]

impl AsRef<XRROutputPropertyNotifyEvent> for XEvent[src]

impl AsRef<XPropertyEvent> for XEvent[src]

impl AsRef<XSelectionRequestEvent> for XEvent[src]

impl AsRef<XKeymapEvent> for XEvent[src]

impl AsRef<XRRProviderPropertyNotifyEvent> for XEvent[src]

impl AsRef<XSelectionEvent> for XEvent[src]

impl AsRef<XButtonEvent> for XEvent[src]

impl AsRef<XGenericEventCookie> for XEvent[src]

impl AsRef<XScreenSaverNotifyEvent> for XEvent[src]

impl AsRef<XNoExposeEvent> for XEvent[src]

impl AsRef<XRRProviderChangeNotifyEvent> for XEvent[src]

impl AsRef<XDestroyWindowEvent> for XEvent[src]

impl AsRef<XConfigureRequestEvent> for XEvent[src]

impl AsRef<XVisibilityEvent> for XEvent[src]

impl AsRef<XCirculateRequestEvent> for XEvent[src]

impl AsRef<XFocusChangeEvent> for XEvent[src]

impl AsRef<XMotionEvent> for XEvent[src]

impl AsRef<XUnmapEvent> for XEvent[src]

impl AsRef<XAnyEvent> for XEvent[src]

impl AsRef<XCreateWindowEvent> for XEvent[src]

impl AsRef<XKeyEvent> for XEvent[src]

impl AsRef<XMapRequestEvent> for XEvent[src]

impl AsRef<XErrorEvent> for XEvent[src]

impl AsRef<XRRCrtcChangeNotifyEvent> for XEvent[src]

impl AsRef<XCrossingEvent> for XEvent[src]

impl AsRef<XMapEvent> for XEvent[src]

impl AsRef<XReparentEvent> for XEvent[src]

impl AsRef<XSelectionClearEvent> for XEvent[src]

impl AsRef<XRRResourceChangeNotifyEvent> for XEvent[src]

impl AsRef<XRRNotifyEvent> for XEvent[src]

impl AsRef<XRRScreenChangeNotifyEvent> for XEvent[src]

impl AsRef<XExposeEvent> for XEvent[src]

impl AsRef<XConfigureEvent> for XEvent[src]

impl AsRef<XColormapEvent> for XEvent[src]

impl AsRef<XGravityEvent> for XEvent[src]

impl AsRef<XF86VidModeNotifyEvent> for XEvent[src]

impl From<XColormapEvent> for XEvent[src]

impl From<XEvent> for XNoExposeEvent[src]

impl From<XEvent> for XGravityEvent[src]

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

impl From<XCirculateEvent> for XEvent[src]

impl From<XGraphicsExposeEvent> for XEvent[src]

impl From<XButtonEvent> for XEvent[src]

impl From<XMotionEvent> for XEvent[src]

impl From<XEvent> for XCirculateRequestEvent[src]

impl From<XResizeRequestEvent> for XEvent[src]

impl From<XEvent> for XExposeEvent[src]

impl From<XEvent> for XResizeRequestEvent[src]

impl From<XEvent> for XUnmapEvent[src]

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

impl From<XConfigureRequestEvent> for XEvent[src]

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

impl From<XEvent> for XButtonEvent[src]

impl From<XRRResourceChangeNotifyEvent> for XEvent[src]

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

impl From<XFocusChangeEvent> for XEvent[src]

impl From<XEvent> for XConfigureEvent[src]

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

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

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

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

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

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

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

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

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

impl From<XRRProviderPropertyNotifyEvent> for XEvent[src]

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

impl From<XDestroyWindowEvent> for XEvent[src]

impl From<XRRNotifyEvent> for XEvent[src]

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

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

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

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

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

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

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

impl From<XSelectionRequestEvent> for XEvent[src]

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

impl From<XRRProviderChangeNotifyEvent> for XEvent[src]

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

impl From<XKeymapEvent> for XEvent[src]

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

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

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

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

impl From<XEvent> for XSelectionEvent[src]

impl From<XEvent> for XCirculateEvent[src]

impl From<XEvent> for XRRProviderChangeNotifyEvent[src]

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

impl From<XEvent> for XColormapEvent[src]

impl From<XEvent> for XRRNotifyEvent[src]

impl From<XRROutputChangeNotifyEvent> for XEvent[src]

impl From<XSelectionEvent> for XEvent[src]

impl From<XSelectionClearEvent> for XEvent[src]

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

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

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

impl From<XErrorEvent> for XEvent[src]

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

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

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

impl From<XEvent> for XErrorEvent[src]

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

impl From<XEvent> for XVisibilityEvent[src]

impl From<XEvent> for XCreateWindowEvent[src]

impl From<XCrossingEvent> for XEvent[src]

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

impl From<XCreateWindowEvent> for XEvent[src]

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

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

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

impl From<XConfigureEvent> for XEvent[src]

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

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

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

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

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

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

impl From<XClientMessageEvent> for XEvent[src]

impl From<XEvent> for XDestroyWindowEvent[src]

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

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

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

impl From<XReparentEvent> for XEvent[src]

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

impl From<XEvent> for XRRScreenChangeNotifyEvent[src]

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

impl From<XEvent> for XClientMessageEvent[src]

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

impl From<XGravityEvent> for XEvent[src]

impl From<XRRCrtcChangeNotifyEvent> for XEvent[src]

impl From<XAnyEvent> for XEvent[src]

impl From<XUnmapEvent> for XEvent[src]

impl From<XExposeEvent> for XEvent[src]

impl From<XMapEvent> for XEvent[src]

impl From<XVisibilityEvent> for XEvent[src]

impl From<XEvent> for XConfigureRequestEvent[src]

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

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

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

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

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

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

impl From<XEvent> for XCrossingEvent[src]

impl From<XRRScreenChangeNotifyEvent> for XEvent[src]

impl From<XKeyEvent> for XEvent[src]

impl From<XEvent> for XFocusChangeEvent[src]

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

impl From<XEvent> for XRROutputPropertyNotifyEvent[src]

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

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

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

impl From<XEvent> for XMapRequestEvent[src]

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

impl From<XEvent> for XRROutputChangeNotifyEvent[src]

impl From<XEvent> for XRRResourceChangeNotifyEvent[src]

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

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

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

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

impl From<XScreenSaverNotifyEvent> for XEvent[src]

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

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

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

impl From<XEvent> for XSelectionClearEvent[src]

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

impl From<XMappingEvent> for XEvent[src]

impl From<XNoExposeEvent> for XEvent[src]

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

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

impl From<XEvent> for XKeymapEvent[src]

impl From<XEvent> for XMappingEvent[src]

impl From<XEvent> for XGraphicsExposeEvent[src]

impl From<XF86VidModeNotifyEvent> for XEvent[src]

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

impl From<XEvent> for XKeyEvent[src]

impl From<XEvent> for XMotionEvent[src]

impl From<XEvent> for XAnyEvent[src]

impl From<XEvent> for XRRProviderPropertyNotifyEvent[src]

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

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

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

impl From<XGenericEventCookie> for XEvent[src]

impl From<XEvent> for XGenericEventCookie[src]

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

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

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

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

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

impl From<XPropertyEvent> for XEvent[src]

impl From<XEvent> for XReparentEvent[src]

impl From<XEvent> for XMapEvent[src]

impl From<XEvent> for XSelectionRequestEvent[src]

impl From<XMapRequestEvent> for XEvent[src]

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

impl From<XEvent> for XPropertyEvent[src]

impl From<XRROutputPropertyNotifyEvent> for XEvent[src]

impl From<XEvent> for XRRCrtcChangeNotifyEvent[src]

impl From<XCirculateRequestEvent> for XEvent[src]

impl AsMut<XExposeEvent> for XEvent[src]

impl AsMut<XKeyEvent> for XEvent[src]

impl AsMut<XSelectionRequestEvent> for XEvent[src]

impl AsMut<XKeymapEvent> for XEvent[src]

impl AsMut<XMapEvent> for XEvent[src]

impl AsMut<XRRResourceChangeNotifyEvent> for XEvent[src]

impl AsMut<XClientMessageEvent> for XEvent[src]

impl AsMut<XDestroyWindowEvent> for XEvent[src]

impl AsMut<XUnmapEvent> for XEvent[src]

impl AsMut<XGraphicsExposeEvent> for XEvent[src]

impl AsMut<XColormapEvent> for XEvent[src]

impl AsMut<XConfigureRequestEvent> for XEvent[src]

impl AsMut<XSelectionEvent> for XEvent[src]

impl AsMut<XRRNotifyEvent> for XEvent[src]

impl AsMut<XResizeRequestEvent> for XEvent[src]

impl AsMut<XMappingEvent> for XEvent[src]

impl AsMut<XF86VidModeNotifyEvent> for XEvent[src]

impl AsMut<XReparentEvent> for XEvent[src]

impl AsMut<XRRCrtcChangeNotifyEvent> for XEvent[src]

impl AsMut<XGenericEventCookie> for XEvent[src]

impl AsMut<XCrossingEvent> for XEvent[src]

impl AsMut<XFocusChangeEvent> for XEvent[src]

impl AsMut<XSelectionClearEvent> for XEvent[src]

impl AsMut<XAnyEvent> for XEvent[src]

impl AsMut<XButtonEvent> for XEvent[src]

impl AsMut<XGravityEvent> for XEvent[src]

impl AsMut<XRRProviderPropertyNotifyEvent> for XEvent[src]

impl AsMut<XCirculateEvent> for XEvent[src]

impl AsMut<XConfigureEvent> for XEvent[src]

impl AsMut<XCirculateRequestEvent> for XEvent[src]

impl AsMut<XNoExposeEvent> for XEvent[src]

impl AsMut<XRROutputChangeNotifyEvent> for XEvent[src]

impl AsMut<XVisibilityEvent> for XEvent[src]

impl AsMut<XScreenSaverNotifyEvent> for XEvent[src]

impl AsMut<XMapRequestEvent> for XEvent[src]

impl AsMut<XRRProviderChangeNotifyEvent> for XEvent[src]

impl AsMut<XErrorEvent> for XEvent[src]

impl AsMut<XRROutputPropertyNotifyEvent> for XEvent[src]

impl AsMut<XCreateWindowEvent> for XEvent[src]

impl AsMut<XMotionEvent> for XEvent[src]

impl AsMut<XPropertyEvent> for XEvent[src]

impl AsMut<XRRScreenChangeNotifyEvent> for XEvent[src]

Auto Trait Implementations

impl Unpin for XEvent

impl !Sync for XEvent

impl !Send for XEvent

impl UnwindSafe for XEvent

impl RefUnwindSafe for XEvent

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

fn adapt_into(self) -> D[src]

Convert the source color to the destination color using the bradford method by default Read more

impl<T> SetParameter for T[src]

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 
[src]

Sets value as a parameter of self.

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

impl<T> Erased for T[src]

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

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Any for T where
    T: Any
[src]

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