Expand description
A linked list implementation.
Macros§
- Defines getters for a
ListArcField. - Implements the
HasListLinkstrait for the given type. - Implements the
HasListLinksandHasSelfPtrtraits for the given type. - Declares that this type supports
ListArc. - Implements the
ListItemtrait for the given type.
Structs§
- A utility for tracking whether a
ListArcexists using an atomic. - A cursor into a
List. - An owning iterator into a
List. - An iterator over a
List. - A linked list.
- A wrapper around
Arcthat’s guaranteed unique for the given id. - A field owned by a specific
ListArc. - The prev/next pointers for an item in a linked list.
- Similar to
ListLinks, but also contains a pointer to the full value.
Traits§
- Declares that this type has a
ListLinks<ID>field at a fixed offset. - Declares that the
ListLinks<ID>field in this struct is inside aListLinksSelfPtr<T, ID>. - Declares that this type has some way to ensure that there is exactly one
ListArcinstance for this id. - Implemented by types where a
ListArc<Self>can be inserted into aList. - Declares that this type is able to safely attempt to create
ListArcs at any time.