#[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,
}
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.