orx_linked_list/
lib.rs

1#![doc = include_str!("../README.md")]
2#![warn(
3    missing_docs,
4    clippy::unwrap_in_result,
5    clippy::unwrap_used,
6    clippy::panic,
7    clippy::panic_in_result_fn,
8    clippy::float_cmp,
9    clippy::float_cmp_const,
10    clippy::missing_panics_doc,
11    clippy::todo
12)]
13#![no_std]
14
15#[cfg(any(test, feature = "validation"))]
16mod tests;
17
18#[cfg(any(test, feature = "validation"))]
19extern crate std;
20
21extern crate alloc;
22
23/// Module containing iterators from the list.
24pub mod iter;
25mod list;
26mod memory;
27/// Module providing access to the pointers of the linked list nodes.
28pub mod pointers;
29mod type_aliases;
30mod variant;
31
32pub use list::List;
33pub use list::ends_traits::*;
34pub use list::iter_traits::*;
35pub use list::slice::{ListSlice, ListSliceMut};
36pub use orx_selfref_col::{MemoryPolicy, NodeIdx, NodeIdxError};
37pub use type_aliases::{
38    DoublyIdx, DoublyList, DoublyListLazy, DoublyListSlice, DoublyListSliceLazy,
39    DoublyListSliceMut, DoublyListSliceMutLazy, DoublyListThreshold, SinglyIdx, SinglyList,
40    SinglyListLazy, SinglyListSlice, SinglyListSliceLazy, SinglyListSliceMut,
41    SinglyListSliceMutLazy, SinglyListThreshold,
42};
43pub use variant::{Doubly, Singly};
44
45#[cfg(feature = "orx-parallel")]
46pub use orx_parallel::*;