Associated types tie one output type per implementation, as Iterator::Item does. Generic associated types allow lifetimes in those positions. Blanket impls apply a trait to every type meeting a bound, and marker traits express properties without methods.
← Rust theorytheory 0/50 · 0%
Abstraction · hard
40. Advanced Traits
Associated types, GATs and blanket impls.
Check your understanding
1. Iterator::Item is an…
2. A blanket impl targets…