enumerated
std › enumerated
Enumerated<T>: a value paired with its position.
Types
Enumerated
struct Enumerated<T>
A value and its index, as enumerate in std.array produces.
| Field | Type | Description |
|---|---|---|
index | int | The position, counting from 0. |
value | T | The value at that position. |