Crate event [−] [src]

A library for event threading

Reexports

pub use event_loop::*;
pub use generic_event::GenericEvent;

Modules

generic_event

Trait for generic events

Structs

EventId

Used to identify events arguments provided by traits.

Enums

Event

Adds render and update events to input events

Traits

AfterRenderEvent

After rendering and buffers are swapped.

Events

A trait for create event iterator from window.

FocusEvent

When window gets or looses focus

IdleEvent

When background tasks should be performed

MouseCursorEvent

The position of the mouse cursor

MouseRelativeEvent

The relative movement of mouse cursor

MouseScrollEvent

The scroll of the mouse wheel

PressEvent

The press of a button

ReleaseEvent

The release of a button

RenderEvent

When the next frame should be rendered

ResizeEvent

When the window is resized

TextEvent

When receiving text from user, such as typing a character

UpdateEvent

When the application state should be updated