Location
This enum represents the location of a value within a data structure, supporting either an empty state or a list of location items. It provides a structured way to track paths or nested positions, utilizing a vector to store a sequence of items in reverse order.
Attributes
| Attribute | Type | Description |
|---|---|---|
| Empty | enum variant = default | Represents the absence of a location to avoid creating an unnecessary vector. |
| List | Vec< LocItem > | Stores a sequence of location items in a vector, maintained in reverse order of the location hierarchy. |