Skip to main content

devela/data/layout/array/
mod.rs

1// devela::data::layout::array
2//
3#![doc = crate::_DOC_DATA_LAYOUT_ARRAY!()] // public
4#![doc = crate::_doc!(modules: crate::data::layout; array)]
5#![doc = crate::_doc!(flat:"data")]
6#![doc = crate::_doc!(extends: array, vec)]
7//!
8//! They enable efficient iterable storage over a sequence of the same type.
9//
10
11mod _reexport_core;
12
13mod adt; // DataArray
14mod d1; // 1-dimensional Array
15mod d2; // 2-dimensional Array2d
16mod ext; // ArrayExt, ArrayFmt
17mod from; // ArrayFrom
18mod init; // init_array!
19
20#[cfg(feature = "alloc")]
21#[cfg_attr(nightly_doc, doc(cfg(feature = "alloc")))]
22mod vec;
23
24crate::structural_mods! { // _mods, _reexports
25    _mods {
26        pub use super::{
27            adt::*,
28            d1::_all::*,
29            d2::_all::*,
30            ext::*,
31            from::*,
32            init::*,
33        };
34
35        #[cfg(feature = "alloc")]
36        pub use super::vec::_all::*;
37    }
38    _reexports {
39        pub use super::_reexport_core::*;
40    }
41}