Structs§
- Spanned
Token - This is an equivalent to the
Tokentype with a span attached. UseSpannedToken::span()to retrieve it’s span, andSpannedToken::token()to retreieve it’s token. Note that this type is read-only, you ideally should not mutate it. - Token
Stream
Enums§
- Token
- This enum represents a list of all valid tokens that procedural macros can parse.
This is an abstraction over the system that
proc_macrouses in it’s TokenTree.