Crate gawk

Source

Structs§

Handler
Wrapper for code that handles Events of a specific type.
Publisher
Publishes all Events to all subscribed Handlers that accept Events of that type

Traits§

DynEvent
Dynamically typed event. Used internally to alow Publishers to support Handlers and Events of multiple different types.
DynHandle
Dynamically typed Handler. Used internally to allow Publishers to support Events and Handlers of multiple different types.
DynHandleMut
Dynamically typed HandleMut. Used internally to allow Publishers to support events and handlers of different types.
Event
An object that a Publisher can send to its subscribers
Handle
Trait for an object which can subscribe to a Producer for specific events
HandleMut
Trait for an object that can subscribe to a producer for specific events and mutate itself in its handler function.

Derive Macros§

Event
Derive macro generating an impl of the trait Event