Skalare Typen
Associated types are placeholder types which are supplied by the trait implementation.
Speaker Notes
-
Associated types are sometimes also called "output types". The key observation is that the implementer, not the caller, chooses this type.
-
Many standard library traits have associated types, including arithmetic operators and
Iterator
.