Macros

Attribute Macros

  • Turns a function into a component function, arguments to the attribute macro are the visibility for the generated struct and the name of the struct. The function should return impl HtmlContent.

Derive Macros