RustQ.Meta.RustMacro (rustq v0.9.0)

Copy Markdown View Source

Builds compact Rust macro_rules! items from Rusty-Elixir defrustmacro declarations.

A defrustmacro body is lowered through the same Rusty-Elixir pipeline used by defrust, while its arguments are tracked as Rust macro fragments. This keeps macro definitions semantic at the Elixir layer and confines Rust token-tree syntax to the generated backend item.

Summary

Types

index()

@type index() :: %{optional(atom()) => RustQ.Meta.RustMacro.Definition.t()}