#[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_: GdkEventType
§any: GdkEventAny
§expose: GdkEventExpose
§visibility: GdkEventVisibility
§motion: GdkEventMotion
§touch: GdkEventTouch
§scroll: GdkEventScroll
§key: GdkEventKey
§crossing: GdkEventCrossing
§focus_change: GdkEventFocus
§configure: GdkEventConfigure
§property: GdkEventProperty
§selection: GdkEventSelection
§owner_change: GdkEventOwnerChange
§proximity: GdkEventProximity
§dnd: GdkEventDND
§window_state: GdkEventWindowState
§setting: GdkEventSetting
§grab_broken: GdkEventGrabBroken
§touchpad_swipe: GdkEventTouchpadSwipe
§touchpad_pinch: GdkEventTouchpadPinch
§pad_axis: GdkEventPadAxis
§pad_group_mode: GdkEventPadGroupMode
Trait 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more