[][src]Union gdk_sys::GdkEvent

#[repr(C)]pub union GdkEvent {
    pub type_: GdkEventType,
    pub any: GdkEventAny,
    pub expose: GdkEventExpose,
    pub visibility: GdkEventVisibility,
    pub motion: GdkEventMotion,
    pub button: GdkEventButton,
    pub touch: GdkEventTouch,
    pub scroll: GdkEventScroll,
    pub key: GdkEventKey,
    pub crossing: GdkEventCrossing,
    pub focus_change: GdkEventFocus,
    pub configure: GdkEventConfigure,
    pub property: GdkEventProperty,
    pub selection: GdkEventSelection,
    pub owner_change: GdkEventOwnerChange,
    pub proximity: GdkEventProximity,
    pub dnd: GdkEventDND,
    pub window_state: GdkEventWindowState,
    pub setting: GdkEventSetting,
    pub grab_broken: GdkEventGrabBroken,
    pub touchpad_swipe: GdkEventTouchpadSwipe,
    pub touchpad_pinch: GdkEventTouchpadPinch,
    pub pad_button: GdkEventPadButton,
    pub pad_axis: GdkEventPadAxis,
    pub pad_group_mode: GdkEventPadGroupMode,
}

Fields

type_: GdkEventTypeany: GdkEventAnyexpose: GdkEventExposevisibility: GdkEventVisibilitymotion: GdkEventMotionbutton: GdkEventButtontouch: GdkEventTouchscroll: GdkEventScrollkey: GdkEventKeycrossing: GdkEventCrossingfocus_change: GdkEventFocusconfigure: GdkEventConfigureproperty: GdkEventPropertyselection: GdkEventSelectionowner_change: GdkEventOwnerChangeproximity: GdkEventProximitydnd: GdkEventDNDwindow_state: GdkEventWindowStatesetting: GdkEventSettinggrab_broken: GdkEventGrabBrokentouchpad_swipe: GdkEventTouchpadSwipetouchpad_pinch: GdkEventTouchpadPinchpad_button: GdkEventPadButtonpad_axis: GdkEventPadAxispad_group_mode: GdkEventPadGroupMode

Trait Implementations

impl Clone for GdkEvent[src]

impl Copy for GdkEvent[src]

impl Debug for GdkEvent[src]

Auto Trait Implementations

impl RefUnwindSafe for GdkEvent

impl !Send for GdkEvent

impl !Sync for GdkEvent

impl Unpin for GdkEvent

impl UnwindSafe for GdkEvent

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.