A doubly-linked list implemented in safe Rust.
The list elements are stored in a vector which provides an index to the element, where it stores the index of the next and previous element in the list. The index does not change as long as the element is not removed, even when the element changes its position in the list.
A new IndexList can be created empty with the
new method, or created from
an existing vector with