Skip to main content

Module macros

Module macros 

Source
Expand description

Internal macros for reducing boilerplate in property definitions. Macros for generating C-ABI-compatible collection types (Vec, Option, Result) used throughout the codebase for FFI interop. Each macro produces #[repr(C)] types with a destructor model: DefaultRust (library-owned), NoDestructor (&'static), External (caller-provided destructor fn), and AlreadyDestroyed (post-drop guard).