Enum xcb::xinput::Event[][src]

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)

Tuple Fields

DeviceKeyPress(DeviceKeyPressEvent)

Tuple Fields

DeviceKeyRelease(DeviceKeyReleaseEvent)

Tuple Fields

DeviceButtonPress(DeviceButtonPressEvent)

Tuple Fields

DeviceButtonRelease(DeviceButtonReleaseEvent)

Tuple Fields

DeviceMotionNotify(DeviceMotionNotifyEvent)

Tuple Fields

DeviceFocusIn(DeviceFocusInEvent)

Tuple Fields

DeviceFocusOut(DeviceFocusOutEvent)

Tuple Fields

ProximityIn(ProximityInEvent)

Tuple Fields

ProximityOut(ProximityOutEvent)

Tuple Fields

DeviceStateNotify(DeviceStateNotifyEvent)

Tuple Fields

DeviceMappingNotify(DeviceMappingNotifyEvent)

Tuple Fields

ChangeDeviceNotify(ChangeDeviceNotifyEvent)

Tuple Fields

DeviceKeyStateNotify(DeviceKeyStateNotifyEvent)

DeviceButtonStateNotify(DeviceButtonStateNotifyEvent)

DevicePresenceNotify(DevicePresenceNotifyEvent)

DevicePropertyNotify(DevicePropertyNotifyEvent)

DeviceChanged(DeviceChangedEvent)

Tuple Fields

KeyPress(KeyPressEvent)

Tuple Fields

KeyRelease(KeyReleaseEvent)

Tuple Fields

ButtonPress(ButtonPressEvent)

Tuple Fields

ButtonRelease(ButtonReleaseEvent)

Tuple Fields

Motion(MotionEvent)

Tuple Fields

Enter(EnterEvent)

Tuple Fields

Leave(LeaveEvent)

Tuple Fields

FocusIn(FocusInEvent)

Tuple Fields

FocusOut(FocusOutEvent)

Tuple Fields

Hierarchy(HierarchyEvent)

Tuple Fields

Property(PropertyEvent)

Tuple Fields

RawKeyPress(RawKeyPressEvent)

Tuple Fields

RawKeyRelease(RawKeyReleaseEvent)

Tuple Fields

RawButtonPress(RawButtonPressEvent)

Tuple Fields

RawButtonRelease(RawButtonReleaseEvent)

Tuple Fields

RawMotion(RawMotionEvent)

Tuple Fields

TouchBegin(TouchBeginEvent)

Tuple Fields

TouchUpdate(TouchUpdateEvent)

Tuple Fields

TouchEnd(TouchEndEvent)

Tuple Fields

TouchOwnership(TouchOwnershipEvent)

Tuple Fields

RawTouchBegin(RawTouchBeginEvent)

Tuple Fields

RawTouchUpdate(RawTouchUpdateEvent)

Tuple Fields

RawTouchEnd(RawTouchEndEvent)

Tuple Fields

BarrierHit(BarrierHitEvent)

Tuple Fields

BarrierLeave(BarrierLeaveEvent)

Tuple Fields

Trait Implementations

Formats the value using the given formatter. Read more

Resolve a pointer to xcb_generic_event_t to Self, inferring the correct subtype using response_type field and first_event Read more

Resolve a pointer to xcb_ge_generic_event_t to Self, inferring the correct subtype using event_type field. 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.