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#![ cfg_attr( doc, doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ) ]
8#![ cfg_attr( not( doc ), doc = "Dynamic cloning utilities" ) ]
9
10#[ cfg( feature = "enabled" ) ]
12pub mod dependency
13{
14 #[ cfg( feature = "derive_clone_dyn" ) ]
15 pub use ::clone_dyn_meta;
16 #[ cfg( feature = "clone_dyn_types" ) ]
17 pub use ::clone_dyn_types;
18}
19
20#[ cfg( feature = "enabled" ) ]
22mod private
23{
24}
25
26#[ cfg( feature = "enabled" ) ]
27#[ doc( inline ) ]
28#[ allow( unused_imports ) ]
29pub use own::*;
30
31#[ cfg( feature = "enabled" ) ]
33#[ allow( unused_imports ) ]
34pub mod own
35{
36 use super::*;
37 #[ doc( inline ) ]
38 pub use orphan::*;
39}
40
41#[ cfg( feature = "enabled" ) ]
43#[ allow( unused_imports ) ]
44pub mod orphan
45{
46 use super::*;
47
48 #[ doc( inline ) ]
49 pub use exposed::*;
50
51 #[ doc( inline ) ]
52 #[ allow( unused_imports ) ]
53 #[ cfg( feature = "clone_dyn_types" ) ]
54 pub use super::dependency::clone_dyn_types::exposed::*;
55}
56
57#[ cfg( feature = "enabled" ) ]
59#[ allow( unused_imports ) ]
60pub mod exposed
61{
62 use super::*;
63 #[ doc( inline ) ]
64 pub use prelude::*;
65}
66
67#[ cfg( feature = "enabled" ) ]
69#[ allow( unused_imports ) ]
70pub mod prelude
71{
72 use super::*;
73
74 #[ doc( inline ) ]
75 #[ allow( unused_imports ) ]
76 #[ cfg( feature = "derive_clone_dyn" ) ]
77 pub use ::clone_dyn_meta::clone_dyn;
78
79 #[ doc( inline ) ]
80 #[ allow( unused_imports ) ]
81 #[ cfg( feature = "clone_dyn_types" ) ]
82 pub use super::dependency::clone_dyn_types::prelude::*;
83}