amplify/traits/mod.rs
1// Rust language amplification library providing multiple generic trait
2// implementations, type wrappers, derive macros and other language enhancements
3//
4// Written in 2019-2020 by
5// Dr. Maxim Orlovsky <orlovsky@ubideco.org>
6//
7// To the extent possible under law, the author(s) have dedicated all
8// copyright and related and neighboring rights to this software to
9// the public domain worldwide. This software is distributed without
10// any warranty.
11//
12// You should have received a copy of the MIT License
13// along with this software.
14// If not, see <https://opensource.org/licenses/MIT>.
15
16#[macro_use]
17mod wrapper;
18mod as_any;
19mod dumb;
20mod join_split;
21#[cfg(all(feature = "c_raw", not(target_arch = "wasm32")))]
22mod raw_str;
23
24pub use as_any::AsAny;
25pub use join_split::JoinSplit;
26pub use wrapper::{Wrapper, WrapperMut};
27pub use dumb::Dumb;
28#[cfg(all(feature = "c_raw", not(target_arch = "wasm32")))]
29pub use raw_str::{TryFromRawStr, TryAsStr, TryIntoRawStr, TryIntoString};