Function enso_macro_utils::index_sequence [−][src]
pub fn index_sequence(len: usize) -> Vec<Index>
Expand description
For given length, returns a sequence of Literals like [0,1,2…]
. These are unsuffixed
usize literals, so e.g. can be used to identify the tuple unnamed fields.