Type Definition UZeroTo
ranged_num
type UZeroTo<Max> = Ranged<U0, Max, usize>;
Represent a usize in [0, Max] (inclusive).
[0, Max]
Example:
use typenum::U5; use ranged_num::UZeroTo; let x: UZeroTo<U5> = UZeroTo::try_new(4).unwrap();