Skip to main content

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

AttributeTypeDescription
Emptyenum variant = defaultRepresents the absence of a location to avoid creating an unnecessary vector.
ListVec< LocItem >Stores a sequence of location items in a vector, maintained in reverse order of the location hierarchy.