Macros§
- c
- Constructor macro - builds a struct with automatic span field
- cclosure
- Constructor mapping macro - eliminates field repetition
- err
- Error constructor macro - builds a PtxParseError with automatic span field
- func
- Function macro - adds span parameter to closures
- ok
- Ok wrapper macro - wraps result in Ok(…) with automatic span field
- okmap
- Constructor mapping macro with Ok wrapper - like cclosure! but wraps result with Ok