devela/data/collections/
mod.rs

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
// devela::data::collections
//
//! Data collections.
//!
#![doc = crate::doc_!(extends: array, collections, vec)]
//

mod reexports;

mod array;
mod list;

#[cfg(_destaque··)]
mod destaque;
// #[cfg(_graph··)]
// mod graph;
// #[cfg(_node··)]
// mod node;
#[cfg(_stack··)]
mod stack;
mod traits;
#[cfg(feature = "_tuple")]
mod tuple; // Tuple, TupleFmt, TupleEnumRef, TupleEnumMut
#[cfg(feature = "alloc")]
#[cfg_attr(feature = "nightly_doc", doc(cfg(feature = "alloc")))]
mod vec;

crate::items! { // structural access: _mods, _all, _always
    #[allow(unused)]
    pub use _mods::*;
    #[allow(unused)] #[doc(hidden)] #[doc(no_inline)]
    pub use _always::*;

    mod _mods {
        pub use super::{array::_all::*, list::_all::*, reexports::*};

        #[cfg(_destaque··)]
        pub use super::destaque::_all::*;
        // #[cfg(_graph··)]
        // pub use super::graph::*;
        // #[cfg(_node··)]
        // pub use super::node::*;
        #[cfg(_stack··)]
        pub use super::stack::_all::*;
        pub use super::traits::_all::*;
        #[cfg(feature = "_tuple")]
        pub use super::tuple::_all::*;
        #[cfg(feature = "alloc")]
        pub use super::vec::_all::*;
    }
    pub(super) mod _all {
        #[doc(inline)]
        pub use super::_mods::*;
    }
    pub(super) mod _always { #![allow(unused)]
        pub use super::reexports::*;
    }
}