pub enum Event {
Show 43 variants DeviceValuator(DeviceValuatorEvent), DeviceKeyPress(DeviceKeyPressEvent), DeviceKeyRelease(DeviceKeyReleaseEvent), DeviceButtonPress(DeviceButtonPressEvent), DeviceButtonRelease(DeviceButtonReleaseEvent), DeviceMotionNotify(DeviceMotionNotifyEvent), DeviceFocusIn(DeviceFocusInEvent), DeviceFocusOut(DeviceFocusOutEvent), ProximityIn(ProximityInEvent), ProximityOut(ProximityOutEvent), DeviceStateNotify(DeviceStateNotifyEvent), DeviceMappingNotify(DeviceMappingNotifyEvent), ChangeDeviceNotify(ChangeDeviceNotifyEvent), DeviceKeyStateNotify(DeviceKeyStateNotifyEvent), DeviceButtonStateNotify(DeviceButtonStateNotifyEvent), DevicePresenceNotify(DevicePresenceNotifyEvent), DevicePropertyNotify(DevicePropertyNotifyEvent), DeviceChanged(DeviceChangedEvent), KeyPress(KeyPressEvent), KeyRelease(KeyReleaseEvent), ButtonPress(ButtonPressEvent), ButtonRelease(ButtonReleaseEvent), Motion(MotionEvent), Enter(EnterEvent), Leave(LeaveEvent), FocusIn(FocusInEvent), FocusOut(FocusOutEvent), Hierarchy(HierarchyEvent), Property(PropertyEvent), RawKeyPress(RawKeyPressEvent), RawKeyRelease(RawKeyReleaseEvent), RawButtonPress(RawButtonPressEvent), RawButtonRelease(RawButtonReleaseEvent), RawMotion(RawMotionEvent), TouchBegin(TouchBeginEvent), TouchUpdate(TouchUpdateEvent), TouchEnd(TouchEndEvent), TouchOwnership(TouchOwnershipEvent), RawTouchBegin(RawTouchBeginEvent), RawTouchUpdate(RawTouchUpdateEvent), RawTouchEnd(RawTouchEndEvent), BarrierHit(BarrierHitEvent), BarrierLeave(BarrierLeaveEvent),
}
Expand description

Unified event type for the Input extension

Variants

DeviceValuator(DeviceValuatorEvent)

DeviceKeyPress(DeviceKeyPressEvent)

DeviceKeyRelease(DeviceKeyReleaseEvent)

DeviceButtonPress(DeviceButtonPressEvent)

DeviceButtonRelease(DeviceButtonReleaseEvent)

DeviceMotionNotify(DeviceMotionNotifyEvent)

DeviceFocusIn(DeviceFocusInEvent)

DeviceFocusOut(DeviceFocusOutEvent)

ProximityIn(ProximityInEvent)

ProximityOut(ProximityOutEvent)

DeviceStateNotify(DeviceStateNotifyEvent)

DeviceMappingNotify(DeviceMappingNotifyEvent)

ChangeDeviceNotify(ChangeDeviceNotifyEvent)

DeviceKeyStateNotify(DeviceKeyStateNotifyEvent)

DeviceButtonStateNotify(DeviceButtonStateNotifyEvent)

DevicePresenceNotify(DevicePresenceNotifyEvent)

DevicePropertyNotify(DevicePropertyNotifyEvent)

DeviceChanged(DeviceChangedEvent)

KeyPress(KeyPressEvent)

KeyRelease(KeyReleaseEvent)

ButtonPress(ButtonPressEvent)

ButtonRelease(ButtonReleaseEvent)

Motion(MotionEvent)

Enter(EnterEvent)

Leave(LeaveEvent)

FocusIn(FocusInEvent)

FocusOut(FocusOutEvent)

Hierarchy(HierarchyEvent)

Property(PropertyEvent)

RawKeyPress(RawKeyPressEvent)

RawKeyRelease(RawKeyReleaseEvent)

RawButtonPress(RawButtonPressEvent)

RawButtonRelease(RawButtonReleaseEvent)

RawMotion(RawMotionEvent)

TouchBegin(TouchBeginEvent)

TouchUpdate(TouchUpdateEvent)

TouchEnd(TouchEndEvent)

TouchOwnership(TouchOwnershipEvent)

RawTouchBegin(RawTouchBeginEvent)

RawTouchUpdate(RawTouchUpdateEvent)

RawTouchEnd(RawTouchEndEvent)

BarrierHit(BarrierHitEvent)

BarrierLeave(BarrierLeaveEvent)

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

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.