devela/data/list/
mod.rs

1// devela::data::list
2//
3//! Implementations of sequential collections.
4#![doc = crate::doc_!(modules: crate::data; list: array, queue, stack)]
5#![doc = crate::doc_!(newline)]
6//!
7#![doc = crate::doc_!(extends: array, collections, vec)]
8//
9
10mod link;
11
12pub mod array;
13pub mod queue;
14pub mod stack;
15
16#[cfg(feature = "_tuple")]
17pub mod tuple; // Tuple, TupleFmt, TupleEnumRef, TupleEnumMut
18
19crate::items! { // structural access: _mods, _pub_mods, _all, _always
20    #[allow(unused)]
21    pub use _mods::*;
22    #[allow(unused)] #[doc(hidden, no_inline)]
23    pub use _pub_mods::*;
24
25    mod _mods {
26        pub use super::link::_all::*;
27    }
28    mod _pub_mods { #![allow(unused)]
29        pub use super::{array::_all::*, queue::_all::*, stack::_all::*};
30        #[cfg(feature = "_tuple")]
31        pub use super::tuple::_all::*;
32    }
33    pub(super) mod _all { #![allow(unused)]
34        #[doc(inline)]
35        pub use super::{_mods::*, _pub_mods::*};
36    }
37    pub(super) mod _always { #![allow(unused)]
38        pub use super::{array::_always::*, link::_always::*, queue::_always::*};
39    }
40}