Expand description
A linked list implementation.
Macros§
- Defines getters for aListArcField.
- Implements theHasListLinkstrait for the given type.
- Implements theHasListLinksandHasSelfPtrtraits for the given type.
- Declares that this type supportsListArc.
- Implements theListItemtrait for the given type.
Structs§
- A utility for tracking whether aListArcexists using an atomic.
- A cursor into aList.
- An owning iterator into aList.
- An iterator over aList.
- A linked list.
- A wrapper aroundArcthat’s guaranteed unique for the given id.
- A field owned by a specificListArc.
- The prev/next pointers for an item in a linked list.
- Similar toListLinks, but also contains a pointer to the full value.
Traits§
- Declares that this type has aListLinks<ID>field at a fixed offset.
- Declares that theListLinks<ID>field in this struct is inside aListLinksSelfPtr<T, ID>.
- Declares that this type has some way to ensure that there is exactly oneListArcinstance for this id.
- Implemented by types where aListArc<Self>can be inserted into aList.
- Declares that this type is able to safely attempt to createListArcs at any time.