#[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
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