Available on
doc
or test
only.Expand description
Shows how to define niche types.
Uses the macros: impl_non_value!
.
§Example
impl_non_value!(I 8);
let a = NonValueI8::<3>::new(2);
Structs§
- NonValue
I8 - A signed integer that is known not to equal some specific value.
Type Aliases§
- NonExtreme
I8 - A signed integer that is known not to equal its most extreme value (
MIN
).