RustQ.Rust.AST.Closure (rustq v1.0.0-rc.19)

Copy Markdown View Source

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

Summary

Types

t()

@type t() :: %RustQ.Rust.AST.Closure{
  args: [
    atom()
    | RustQ.Rust.AST.pat()
    | {RustQ.Rust.AST.pat(), RustQ.Rust.AST.type()}
  ],
  body: RustQ.Rust.AST.expr(),
  move: boolean()
}