1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// ladata::list::link
//
//! Linked lists are linear lists of linked internal nodes.
//
use crateBoxed;
// TEMP
// #[cfg(test)]
// mod tests;
pub use ;
// pub use singly::{SinglyLinkedList16, SinglyLinkedList32, SinglyLinkedList8};
pub use *;
// mod doubly;
// pub use doubly::{DoublyLinkedList16, DoublyLinkedList32, DoublyLinkedList8};
/* singly aliases */
/// A [`SinglyLinkedList8`] stored in the stack.
pub type DirectSinglyLinkedList8<T, const CAP: usize> = ;
// /// A [`SinglyLinkedList16`] stored in the stack.
// pub type DirectSinglyLinkedList16<T, const CAP: usize> = SinglyLinkedList16<T, (), CAP>;
// /// A [`SinglyLinkedList32`] stored in the stack.
// pub type DirectSinglyLinkedList32<T, const CAP: usize> = SinglyLinkedList32<T, (), CAP>;
//
/// A [`SinglyLinkedList8`] stored in the heap.
pub type BoxedSinglyLinkedList8<T, const CAP: usize> = ;
// /// A [`SinglyLinkedList16`] stored in the heap.
// #[cfg(feature = "alloc")]
// #[cfg_attr(feature = "nightly", doc(cfg(feature = "alloc")))]
// pub type BoxedSinglyLinkedList16<T, const CAP: usize> = SinglyLinkedList16<T, Boxed, CAP>;
// /// A [`SinglyLinkedList32`] stored in the heap.
// #[cfg(feature = "alloc")]
// #[cfg_attr(feature = "nightly", doc(cfg(feature = "alloc")))]
// pub type BoxedSinglyLinkedList32<T, const CAP: usize> = SinglyLinkedList32<T, Boxed, CAP>;
/* doubly aliases */
// /// A dynamic doubly linked list, re-exported from `alloc`.
// ///
// #[cfg(feature = "alloc")]
// #[cfg_attr(feature = "nightly", doc(cfg(feature = "alloc")))]
// pub use alloc::collections::LinkedList as DynDoublyLinkedList;
// /// A [`DoublyLinkedList8`] stored in the stack.
// pub type DirectDoublyLinkedList8<T, const CAP: usize> = DoublyLinkedList8<T, (), CAP>;
// /// A [`DoublyLinkedList16`] stored in the stack.
// pub type DirectDoublyLinkedList16<T, const CAP: usize> = DoublyLinkedList16<T, (), CAP>;
// /// A [`DoublyLinkedList32`] stored in the stack.
// pub type DirectDoublyLinkedList32<T, const CAP: usize> = DoublyLinkedList32<T, (), CAP>;
//
// /// A [`DoublyLinkedList8`] stored in the heap.
// #[cfg(feature = "alloc")]
// #[cfg_attr(feature = "nightly", doc(cfg(feature = "alloc")))]
// pub type BoxedDoublyLinkedList8<T, const CAP: usize> = DoublyLinkedList8<T, Boxed, CAP>;
// /// A [`DoublyLinkedList16`] stored in the heap.
// #[cfg(feature = "alloc")]
// #[cfg_attr(feature = "nightly", doc(cfg(feature = "alloc")))]
// pub type BoxedDoublyLinkedList16<T, const CAP: usize> = DoublyLinkedList16<T, Boxed, CAP>;
// /// A [`DoublyLinkedList32`] stored in the heap.
// #[cfg(feature = "alloc")]
// #[cfg_attr(feature = "nightly", doc(cfg(feature = "alloc")))]
// pub type BoxedDoublyLinkedList32<T, const CAP: usize> = DoublyLinkedList32<T, Boxed, CAP>;