Expand description
Event handlers
Structs§
- An event sent immediately after a new handler is added to the world. Contains the ID of the added handler.
- The Configuration of a handler. Accessible during handler initialization.
- The
Handlerimplementation for ordinary functions. - Lightweight identifier for a handler.
- A
HandlerIdwith the generation count stripped out. - Metadata for a handler.
- Contains metadata for all the handlers in a world.
- The wrapper handler returned by
IntoHandler::high. - An error returned when handler initialization fails. Contains an error message.
- A
HandlerParamfor storing handler-local state. - The wrapper handler returned by
IntoHandler::low. - The wrapper handler returned by
IntoHandler::no_type_id. - An event sent immediately before a handler is removed from the world. Contains the ID of the handler to be removed.
Enums§
- The priority of a handler relative to other handlers that handle the same event.
Traits§
- A parameter in a
Handler. - Trait for functions whose parameters are
HandlerParams. - Types which can be converted into
Handlers.
Derive Macros§
- Derive macro for
HandlerParam. SeeHandlerParam’s documentation for more information.