Crate event [] [src]

Structs

EventPublisher

EventPublisher. Works similarly to C#'s event publishing pattern. Event handling functions are subscribed to the publisher. Whenever the publisher fires an event it calls all subscribed event handler functions. Use event::EventPublisher::::new() to construct

Enums

Event

Enumerator of the Event type. Whatever type E of Event::Args you implement here is the type E that will be used for the EventPublisher.