Accessor implementing logic for accessingstd.variant.
ImplSpec:
The accessor can accept any variant of ComponentType. The restriction is that the underlying stored data should be
of either associative array or dynamic array in order to access the contents of them. The return type is as well a
variant that must be able to store associative's array field, or arrays elements.
@component
class VariantAccessor : PropertyAccessor!(ComponentType, FieldType, KeyType)(
Accessor implementing logic for accessingstd.variant.
ImplSpec: The accessor can accept any variant of ComponentType. The restriction is that the underlying stored data should be of either associative array or dynamic array in order to access the contents of them. The return type is as well a variant that must be able to store associative's array field, or arrays elements.