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)
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)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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