clone_dyn/
lib.rs

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