pub type Arr<T, N> = GenericArray<T, <N as AnyArrayLength>::OutputArrayLength<T>>;
Expand description

A [GenericArray] of length N containing type T

Instead of N being constrainted by [ArrayLength] (as in GenericArray), it’s constrainted by AnyArrayLength.

This type alias resolves to a GenericArray, and it can be used with any existing GenericArray code.