Module niche

Source
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§

NonValueI8
A signed integer that is known not to equal some specific value.

Type Aliases§

NonExtremeI8
A signed integer that is known not to equal its most extreme value (MIN).