pub type Len<List> = <List as TList>::Len;
Available on crate feature
typenum
only.Expand description
Type-level ‘function’ to calculate the length of a TList.
You can turn the result into a usize
using Len<List>::USIZE
or Len<List>::to_usize()
.
(See typenum::Unsigned
.)