#[repr(C)]
pub union GdkEvent {
Show 25 fields
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: GdkEventMotiontouch: GdkEventTouchscroll: GdkEventScrollkey: GdkEventKeycrossing: GdkEventCrossingfocus_change: GdkEventFocusconfigure: GdkEventConfigureproperty: GdkEventPropertyselection: GdkEventSelectionowner_change: GdkEventOwnerChangeproximity: GdkEventProximitydnd: GdkEventDNDwindow_state: GdkEventWindowStatesetting: GdkEventSettinggrab_broken: GdkEventGrabBrokentouchpad_swipe: GdkEventTouchpadSwipetouchpad_pinch: GdkEventTouchpadPinchpad_axis: GdkEventPadAxispad_group_mode: GdkEventPadGroupModeTrait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more