Crate medea_macro[][src]

Macros for Medea media server project.

This crate is indented for inner use only by Medea media server.

Attribute Macros

dispatchable

Generates *Handler trait and displatching function for some event, represented as enum.

enum_delegate

Delegates function calls to enum variants field. Variants are expected to have only one field.

watchers

Generates ComponentState implementation on provided impl.

Derive Macros

JsCaused

Generate implementation of JsCaused trait for errors represented as enum.