RustQ.Rust.AST.Attribute (rustq v0.11.1)

Copy Markdown View Source

Structural RustQ AST node. Prefer the focused builder modules for construction.

Summary

Types

t()

@type t() :: %RustQ.Rust.AST.Attribute{
  args:
    keyword()
    | [atom() | String.t() | RustQ.Rust.AST.Path.t()]
    | {:value, String.t() | atom()},
  path: [atom() | String.t()],
  style: :outer | :inner
}