Expand description
§medea-macro
Internal macros for Medea media server project.
DO NOT use this crate directly. It’s for internal use by Medea crates only.
§License
Copyright © 2019-2025 Instrumentisto Team https://github.com/instrumentisto
This software is subject to the terms of the Blue Oak Model License 1.0.0. If a copy of the BlueOak-1.0.0 license was not distributed with this file, You can obtain one at https://blueoakcouncil.org/license/1.0.0.
Attribute Macros§
- dart_
bridge - Generates code for
externDart functions registration and calling. - dispatchable
- Generates a
*Handlertrait and dispatching function for some event, represented asenum. - enum_
delegate - Delegates function calls to enum variants field. Variants are expected to have only one field.
- watchers
- Generates
ComponentStateimplementation on providedimpl.
Derive Macros§
- Caused
- Generate implementation of
Causedtrait for errors represented as enum.