[][src]Union sdl2_sys::_XEvent

#[repr(C)]
pub union _XEvent { pub type_: c_int, pub xany: XAnyEvent, pub xkey: XKeyEvent, pub xbutton: XButtonEvent, pub xmotion: XMotionEvent, pub xcrossing: XCrossingEvent, pub xfocus: XFocusChangeEvent, pub xexpose: XExposeEvent, pub xgraphicsexpose: XGraphicsExposeEvent, pub xnoexpose: XNoExposeEvent, pub xvisibility: XVisibilityEvent, pub xcreatewindow: XCreateWindowEvent, pub xdestroywindow: XDestroyWindowEvent, pub xunmap: XUnmapEvent, pub xmap: XMapEvent, pub xmaprequest: XMapRequestEvent, pub xreparent: XReparentEvent, pub xconfigure: XConfigureEvent, pub xgravity: XGravityEvent, pub xresizerequest: XResizeRequestEvent, pub xconfigurerequest: XConfigureRequestEvent, pub xcirculate: XCirculateEvent, pub xcirculaterequest: XCirculateRequestEvent, pub xproperty: XPropertyEvent, pub xselectionclear: XSelectionClearEvent, pub xselectionrequest: XSelectionRequestEvent, pub xselection: XSelectionEvent, pub xcolormap: XColormapEvent, pub xclient: XClientMessageEvent, pub xmapping: XMappingEvent, pub xerror: XErrorEvent, pub xkeymap: XKeymapEvent, pub xgeneric: XGenericEvent, pub xcookie: XGenericEventCookie, pub pad: [c_long; 24], // some fields omitted }

Fields

type_: c_intxany: XAnyEventxkey: XKeyEventxbutton: XButtonEventxmotion: XMotionEventxcrossing: XCrossingEventxfocus: XFocusChangeEventxexpose: XExposeEventxgraphicsexpose: XGraphicsExposeEventxnoexpose: XNoExposeEventxvisibility: XVisibilityEventxcreatewindow: XCreateWindowEventxdestroywindow: XDestroyWindowEventxunmap: XUnmapEventxmap: XMapEventxmaprequest: XMapRequestEventxreparent: XReparentEventxconfigure: XConfigureEventxgravity: XGravityEventxresizerequest: XResizeRequestEventxconfigurerequest: XConfigureRequestEventxcirculate: XCirculateEventxcirculaterequest: XCirculateRequestEventxproperty: XPropertyEventxselectionclear: XSelectionClearEventxselectionrequest: XSelectionRequestEventxselection: XSelectionEventxcolormap: XColormapEventxclient: XClientMessageEventxmapping: XMappingEventxerror: XErrorEventxkeymap: XKeymapEventxgeneric: XGenericEventxcookie: XGenericEventCookiepad: [c_long; 24]

Trait Implementations

impl Clone for _XEvent[src]

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

Performs copy-assignment from source. Read more

impl Copy for _XEvent[src]

Auto Trait Implementations

impl !Send for _XEvent

impl !Sync for _XEvent

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto 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, U> Into for T where
    U: From<T>, 
[src]

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

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

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