1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#![cfg_attr(no_std, no_std)]
mod impl_from;
mod impl_misc;
mod impl_ops;
pub mod backing_types;
pub use backing_types::{f_iof, i_iof, u_iof};
#[cfg(with_impl_hash)]
mod hash;
mod cmp;
mod encode;
#[cfg(feature = "num-traits")]
mod num_traits_impl;
mod str_conv;
pub use str_conv::ConversionError;
#[cfg_attr(use_serde, derive(serde::Serialize, serde::Deserialize))]
#[derive(Copy, Clone)]
pub enum IntegerOrFloat {
Integer(i_iof),
Float(f_iof),
}
pub use IntegerOrFloat::{Float, Integer};