Expand description
A procedural macros that allow conversion of a non-negative integer n
to the type
List
of the slist
crate of length n
.
Macrosยง
- slist_
typegen - Generate a type of a list of units (
()
) of the given length. The only valid input is a non-negative integer literal. The typeList
of theslist
crate needs to be imported in order for the resulting type to be parsed correctly.