Crate membrane_macro

Crate membrane_macro 

Source

Macros§

emitter
For use inside #[async_dart] functions. Used to create an emitter for use with impl Emitter<Result<T, E>> and impl 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 cdylib binary 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.