Type Alias U
pub type U<const N: usize> = <Const<N> as ToUInt>::Output;
The main mapping from a generic const: usize to a [UInt]: U<N> is expected to work like UN.
- It requires the
const-genericscrate feature to be enabled.
Example
use *;
assert_type_eq!;
This can even be used in a generic const N: usize context, provided the
genericity is guarded by a where clause:
use *;
;
assert_type_eq!;