mem_tools/
lib.rs

1#![ cfg_attr( feature = "no_std", no_std ) ]
2#![ doc( html_logo_url = "https://raw.githubusercontent.com/Wandalen/wTools/master/asset/img/logo_v3_trans_square.png" ) ]
3#![ doc( html_favicon_url = "https://raw.githubusercontent.com/Wandalen/wTools/alpha/asset/img/logo_v3_trans_square_icon_small_v2.ico" ) ]
4#![ doc( html_root_url = "https://docs.rs/mem_tools/latest/mem_tools/" ) ]
5// #![ deny( rust_2018_idioms ) ]
6// #![ deny( missing_debug_implementations ) ]
7// #![ deny( missing_docs ) ]
8
9//!
10//! Collection of tools to manipulate memory.
11//!
12
13#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "Readme.md" ) ) ]
14
15/// Namespace with dependencies.
16
17#[ cfg( feature = "enabled" ) ]
18pub mod dependency
19{
20}
21
22/// Collection of general purpose meta tools.
23#[ cfg( feature = "enabled" ) ]
24pub mod mem;
25
26#[ doc( inline ) ]
27#[ allow( unused_imports ) ]
28#[ cfg( feature = "enabled" ) ]
29pub use own::*;
30
31/// Own namespace of the module.
32#[ cfg( feature = "enabled" ) ]
33#[ allow( unused_imports ) ]
34pub mod own
35{
36  use super::*;
37  #[ doc( inline ) ]
38  pub use orphan::*;
39  #[ doc( inline ) ]
40  #[ allow( unused_imports ) ]
41  pub use super::mem::orphan::*;
42}
43
44/// Orphan namespace of the module.
45#[ cfg( feature = "enabled" ) ]
46#[ allow( unused_imports ) ]
47pub mod orphan
48{
49  use super::*;
50  #[ doc( inline ) ]
51  pub use exposed::*;
52}
53
54/// Exposed namespace of the module.
55#[ cfg( feature = "enabled" ) ]
56#[ allow( unused_imports ) ]
57pub mod exposed
58{
59  use super::*;
60  #[ doc( inline ) ]
61  pub use prelude::*;
62  #[ doc( inline ) ]
63  #[ allow( unused_imports ) ]
64  pub use super::mem::exposed::*;
65}
66
67/// Prelude to use essentials: `use my_module::prelude::*`.
68#[ cfg( feature = "enabled" ) ]
69#[ allow( unused_imports ) ]
70pub mod prelude
71{
72  use super::*;
73  #[ doc( inline ) ]
74  #[ allow( unused_imports ) ]
75  pub use super::mem::prelude::*;
76}