attribute_macro

Attribute Macro attribute_macro 

Source
#[attribute_macro]
Expand description

Constructs the attribute macro implementation.

This macro hides the conversion to stable ABI structs from the user.

Note, that this macro can be used multiple times, to define multiple independent attribute macros.