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
/// Internal namespace.
pub( crate ) mod private
{
}
/// Several macro on functions.
pub mod func;
/// Several macro to encourage to write indexed code to improve readibility.
pub mod impls;
/* zzz : use name protected */
/* zzz : use for implementing of macro mod_interface */
/// Namespace with dependencies.
pub mod dependency
{
// #[ cfg( any( feature = "meta", feature = "impls_index_meta" ) ) ]
pub use ::impls_index_meta;
}
/// Protected namespace of the module.
pub mod protected
{
pub use super::orphan::*;
}
pub use protected::*;
/// Shared with parent namespace of the module
pub mod orphan
{
pub use super::exposed::*;
// pub use super::dependencies;
}
/// Exposed namespace of the module.
pub mod exposed
{
pub use super::prelude::*;
pub use super::impls::exposed::*;
pub use super::func::exposed::*;
}
/// Prelude to use essentials: `use my_module::prelude::*`.
pub mod prelude
{
pub use super::impls::prelude::*;
pub use super::func::prelude::*;
// #[ cfg( any( feature = "meta", feature = "impls_index_meta" ) ) ]
pub use ::impls_index_meta::*;
}