referrerpolicy=no-referrer-when-downgrade

Module syn_ext

Source
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
OuterAttributes
Parens
PunctuatedInner
StopParse
stop parsing here getting remaining token as content Warn duplicate stream (part of)
Trailing

Functions§

expr_contains_ident
Check if a Expr contains the given Ident.
extract_type_option
type_contains_ident
Check if a Type contains the given Ident.

Type Aliases§

Punctuated
PunctuatedTrailing