Expand description
Extension to syn types, mainly for parsing
Structs§
- Braces
- Brackets
- Meta
- Note that syn Meta is almost fine for use case (lacks only
ToToken
) - NoTrailing
- Outer
Attributes - Parens
- Punctuated
Inner - Stop
Parse - stop parsing here getting remaining token as content Warn duplicate stream (part of)
- Trailing
Functions§
- expr_
contains_ ident - Check if a
Expr
contains the givenIdent
. - extract_
type_ option - type_
contains_ ident - Check if a
Type
contains the givenIdent
.