devela/sys/mem/size/
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
// devela::sys::mem::size
//
//! Memory size functionality.
//

mod byte;
mod expr;

#[cfg(feature = "bit")]
mod bit;

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

    mod _mods {
        #[doc(inline)]
        pub use super::{byte::*, expr::size_of_expr};

        #[doc(inline)]
        #[cfg(feature = "bit")]
        pub use super::bit::*;
    }
    pub(super) mod _hidden {
        #[doc(hidden)]
        pub use super::expr::__size_of_expr;
    }
    pub(super) mod _all {
        #[doc(inline)]
        pub use super::_mods::*;
    }
}