Macros§
- gen
- Generate a new iterable witn a list comprehension. This macro tries to follow the syntax of
Python’s list comprehensions. This is a very flexable macro that allows the generation of any
iterable that implements
std::iter::FromIterator
. The resulting type will be determined by the type of the variable that you are attempting to assign to. You can create aVec
: