Structsยง
- Attr
Wrapper ๐ - A wrapper type to ensure that the parser handles outer attributes correctly. When we parse outer attributes, we need to ensure that we capture tokens for the attribute target. This allows us to perform cfg-expansion on a token stream before we invoke a derive proc-macro.
- Collect
Pos ๐
Enumsยง
- UsePre
Attr ๐Pos
Functionsยง
- has_
cfg_ ๐or_ cfg_ attr - Returns
true
ifattrs
contains acfg
orcfg_attr
attribute - needs_
tokens ๐ - Tokens are needed if: