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
6//!
7//! Collection of tools to manipulate memory.
8//!
9
10#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "Readme.md" ) ) ]
11
12/// Namespace with dependencies.
13#[ cfg( feature = "enabled" ) ]
14pub mod dependency
15{
16}
17
18/// Collection of general purpose meta tools.
19#[ cfg( feature = "enabled" ) ]
20pub mod mem;
21
22#[ doc( inline ) ]
23#[ allow( unused_imports ) ]
24#[ cfg( feature = "enabled" ) ]
25pub use own::*;
26
27/// Own namespace of the module.
28#[ cfg( feature = "enabled" ) ]
29#[ allow( unused_imports ) ]
30pub mod own
31{
32  use super::*;
33  #[ doc( inline ) ]
34  pub use orphan::*;
35  #[ doc( inline ) ]
36  pub use super::mem::orphan::*;
37}
38
39/// Orphan namespace of the module.
40#[ cfg( feature = "enabled" ) ]
41#[ allow( unused_imports ) ]
42pub mod orphan
43{
44  use super::*;
45  #[ doc( inline ) ]
46  pub use exposed::*;
47}
48
49/// Exposed namespace of the module.
50#[ cfg( feature = "enabled" ) ]
51#[ allow( unused_imports ) ]
52pub mod exposed
53{
54  use super::*;
55  #[ doc( inline ) ]
56  pub use prelude::*;
57  #[ doc( inline ) ]
58  pub use super::mem::exposed::*;
59}
60
61/// Prelude to use essentials: `use my_module::prelude::*`.
62#[ cfg( feature = "enabled" ) ]
63#[ allow( unused_imports ) ]
64pub mod prelude
65{
66  use super::*;
67  #[ doc( inline ) ]
68  pub use super::mem::prelude::*;
69}