base_traits/
lib.rs

1// lib.rs : base-traits
2
3
4// /////////////////////////////////////////////////////////
5// crate-level feature definitions
6
7#![cfg_attr(feature = "experimental-exact_size_is_empty", feature(exact_size_is_empty))]
8#![cfg_attr(all(not(test), feature = "nostd"), no_std)]
9
10
11// /////////////////////////////////////////////////////////
12// crate-level feature discrimination
13
14
15// /////////////////////////////////////////////////////////
16// imports
17
18mod traits;
19
20pub use traits::{
21    AsF64,
22    AsI128,
23    AsI32,
24    AsI64,
25    AsISize,
26    AsStr,
27    AsU128,
28    AsU32,
29    AsU64,
30    AsUSize,
31    Infinity,
32    Integer,
33    IsDefault,
34    IsEmpty,
35    IsInfinity,
36    IsNAN,
37    IsZero,
38    Len,
39    Numeric,
40    Real,
41    Scalar,
42    Signed,
43    ToF64,
44    ToI128,
45    ToI16,
46    ToI32,
47    ToI64,
48    ToISize,
49    ToU128,
50    ToU16,
51    ToU32,
52    ToU64,
53    ToUSize,
54    Unsigned,
55    Zero,
56};
57
58mod private {
59    #[allow(unused_imports)]
60    pub(crate) use super::traits::Sealed;
61}
62
63
64// ///////////////////////////// end of file //////////////////////////// //
65