Expand description
A linked list implementation.
Macros§
- Defines getters for a
ListArcField
. - Implements the
HasListLinks
trait for the given type. - Implements the
HasListLinks
andHasSelfPtr
traits for the given type. - Declares that this type supports
ListArc
. - Implements the
ListItem
trait for the given type.
Structs§
- A utility for tracking whether a
ListArc
exists 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
Arc
that’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
ListArc
instance 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
ListArc
s at any time.