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
A consuming interator that will remove elements from the list as it is iterating over them. The iterator is fused and can also be reversed.
Vector index for the elements in the list. They are typically not squential.
Doubly-linked list implemented in safe Rust.
A double-ended iterator over all the elements in the list. It is fused and can be reversed.