devela/num/niche/
reexports.rs

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
// devela::num::niche::reexports
//
//! Reexported items from `core`.
//

use crate::reexport;

reexport! { rust: core::num,
    doc: "A signed integer that is known not to equal zero.",
    NonZeroI128, NonZeroI16, NonZeroI32, NonZeroI64, NonZeroI8, NonZeroIsize
}
reexport! { rust: core::num,
    doc: "An unsigned integer that is known not to equal zero.",
    NonZeroU128, NonZeroU16, NonZeroU32, NonZeroU64, NonZeroU8, NonZeroUsize
}
reexport! { rust: core::num,
    doc: "A value that is known not to equal zero.",
    NonZero
}
reexport! { rust: core::num,
    doc: "Provides intentionally-saturating arithmetic on `T`.",
    Saturating
}
reexport! { rust: core::num,
    doc: "Provides intentionally-wrapped arithmetic on `T`.",
    Wrapping
}

reexport! { rust: core::num,
    tag: crate::TAG_ERROR!(),
    doc: "The error type returned when a checked integral type conversion fails.",
    TryFromIntError // IMPROVE: recreate
}