syn

Module generics

source

Modules§

Macros§

Structs§

Enums§

  • Single parameter in a precise capturing bound.
  • A generic type parameter, lifetime, or const generic: T: Into<String>, 'a: 'b, const LEN: usize.
  • A modifier on a trait bound, currently only used for the ? in ?Sized.
  • A trait or lifetime used as a bound on a type parameter.
  • A single predicate in a where clause: T: Deserialize<'de>.