Enum xcb::x::Event[][src]

pub enum Event {
Show 33 variants KeyPress(KeyPressEvent), KeyRelease(KeyReleaseEvent), ButtonPress(ButtonPressEvent), ButtonRelease(ButtonReleaseEvent), MotionNotify(MotionNotifyEvent), EnterNotify(EnterNotifyEvent), LeaveNotify(LeaveNotifyEvent), FocusIn(FocusInEvent), FocusOut(FocusOutEvent), KeymapNotify(KeymapNotifyEvent), Expose(ExposeEvent), GraphicsExposure(GraphicsExposureEvent), NoExposure(NoExposureEvent), VisibilityNotify(VisibilityNotifyEvent), CreateNotify(CreateNotifyEvent), DestroyNotify(DestroyNotifyEvent), UnmapNotify(UnmapNotifyEvent), MapNotify(MapNotifyEvent), MapRequest(MapRequestEvent), ReparentNotify(ReparentNotifyEvent), ConfigureNotify(ConfigureNotifyEvent), ConfigureRequest(ConfigureRequestEvent), GravityNotify(GravityNotifyEvent), ResizeRequest(ResizeRequestEvent), CirculateNotify(CirculateNotifyEvent), CirculateRequest(CirculateRequestEvent), PropertyNotify(PropertyNotifyEvent), SelectionClear(SelectionClearEvent), SelectionRequest(SelectionRequestEvent), SelectionNotify(SelectionNotifyEvent), ColormapNotify(ColormapNotifyEvent), ClientMessage(ClientMessageEvent), MappingNotify(MappingNotifyEvent),
}
Expand description

Unified event type for the X core protocol

Variants

KeyPress(KeyPressEvent)

Tuple Fields

KeyRelease(KeyReleaseEvent)

Tuple Fields

ButtonPress(ButtonPressEvent)

Tuple Fields

ButtonRelease(ButtonReleaseEvent)

Tuple Fields

MotionNotify(MotionNotifyEvent)

Tuple Fields

EnterNotify(EnterNotifyEvent)

Tuple Fields

LeaveNotify(LeaveNotifyEvent)

Tuple Fields

FocusIn(FocusInEvent)

Tuple Fields

FocusOut(FocusOutEvent)

Tuple Fields

KeymapNotify(KeymapNotifyEvent)

Tuple Fields

Expose(ExposeEvent)

Tuple Fields

GraphicsExposure(GraphicsExposureEvent)

Tuple Fields

NoExposure(NoExposureEvent)

Tuple Fields

VisibilityNotify(VisibilityNotifyEvent)

Tuple Fields

CreateNotify(CreateNotifyEvent)

Tuple Fields

DestroyNotify(DestroyNotifyEvent)

Tuple Fields

UnmapNotify(UnmapNotifyEvent)

Tuple Fields

MapNotify(MapNotifyEvent)

Tuple Fields

MapRequest(MapRequestEvent)

Tuple Fields

ReparentNotify(ReparentNotifyEvent)

Tuple Fields

ConfigureNotify(ConfigureNotifyEvent)

Tuple Fields

ConfigureRequest(ConfigureRequestEvent)

Tuple Fields

GravityNotify(GravityNotifyEvent)

Tuple Fields

ResizeRequest(ResizeRequestEvent)

Tuple Fields

CirculateNotify(CirculateNotifyEvent)

Tuple Fields

CirculateRequest(CirculateRequestEvent)

Tuple Fields

PropertyNotify(PropertyNotifyEvent)

Tuple Fields

SelectionClear(SelectionClearEvent)

Tuple Fields

SelectionRequest(SelectionRequestEvent)

Tuple Fields

SelectionNotify(SelectionNotifyEvent)

Tuple Fields

ColormapNotify(ColormapNotifyEvent)

Tuple Fields

ClientMessage(ClientMessageEvent)

Tuple Fields

MappingNotify(MappingNotifyEvent)

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

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.