Crate index_list

Source
Expand description

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 IndexList::from.

Re-exports§

pub use crate::listindex::ListIndex;
pub use crate::listiter::ListIter;
pub use crate::listdrainiter::ListDrainIter;

Modules§

listdrainiter
The definition of the ListDrainIter type
listindex
Definition of the ListIndex type
listiter
The defintions of the ListIter type

Structs§

IndexList
Doubly-linked list implemented in safe Rust.

Type Aliases§

Index