RustQ.Rust.AST.Function (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.Function{
  args: [RustQ.Rust.AST.FunctionArg.t()],
  attrs: [RustQ.Rust.AST.Attribute.t()],
  body: [RustQ.Rust.AST.stmt()],
  lifetimes: [atom()],
  name: atom(),
  returns: RustQ.Rust.AST.type(),
  vis: RustQ.Rust.AST.vis()
}