Macros§
- emitter
- For use inside
#[async_dart]functions. Used to create an emitter for use withimpl Emitter<Result<T, E>>andimpl StreamEmitter<Result<T, E>>return types. - export_
metadata - A helper macro that can be used to ensure that Membrane types are still accessible
if the workspace crate which generates the
cdylibbinary has no instances of Membrane macros such as#[async_dart]or#[sync_dart].
Attribute Macros§
- async_
dart - Apply this macro to Rust functions to mark them and their input/output types for Dart code generation.
- dart_
enum - Apply this macro to enums to mark them for Dart code generation.
- sync_
dart - Apply this macro to synchronous Rust functions to mark them and their input/output types for Dart code generation.