Expand description

Custom version of syn generics supporting ‘X: trait’ bound

Structs

  • Lifetimes and type parameters attached an item
  • A type predicate in a where clause: for<'c> Foo<'c>: Trait<'c>.
  • A generic type parameter: T: Into<String>.
  • A where clause in a definition: where T: Deserialize<'de>, D: 'static.

Enums

  • A generic type parameter, lifetime, or const generic
  • A trait or lifetime used as a bound on a type parameter.
  • A single predicate in a where clause: T: Deserialize<'de>.

Traits

Functions