Expand description
Custom version of syn generics supporting ‘X: trait’ bound
Structs§
- Generics
- Lifetimes and type parameters attached an item
- Predicate
Type - A type predicate in a
whereclause:for<'c> Foo<'c>: Trait<'c>. - Type
Param - A generic type parameter:
T: Into<String>. - Where
Clause - A
whereclause in a definition:where T: Deserialize<'de>, D: 'static.
Enums§
- Generic
Param - A generic type parameter, lifetime, or const generic
- Type
Param Bound - A trait or lifetime used as a bound on a type parameter.
- Where
Predicate - A single predicate in a
whereclause:T: Deserialize<'de>.
Traits§
- ToTokens
Subst - Tokenization trait with substitution
Functions§
- clause_
to_ toks - Generate a
where_clause