Associated items: an extension to trait generics
- “Associated Items” refers to a set of rules pertaining to
itemsof various types. - It is an extension to
traitgenerics - and allows
traitsto internally define new items.
One such item is called an associated type, providing simpler usage
patterns when the trait is generic over its container type.