lists 1.1.0

Library containing various implementations of list-like data-structures such as Vectors, LinkedLists, and more.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Module containing data-structures that resemble `LinkedList`s.
//! `LinkedList`s are widely unused in modern computing due the `Vector` data structure being more superior in just about every aspect now and days.
//! `Vector`s are much more cache-optimized that `LinkedList`s and their lookup times resemble `O(1)` time complexity, making them better for most applications.
//! Macros for shorthand construction of the various lists are availible within the library's root.
//! 
//! ## Lists
//! ```rust
//! pub struct SinglyLinkedList<T> { .. } // One-directional `LinkedList`.
//! pub struct DoublyLinkedList<T> { .. } // Two-directional `LinkedList`.
//! ```


pub mod singly;
pub mod doubly;


pub use singly::SinglyLinkedList;
pub use doubly::DoublyLinkedList;