ComponentArrays.jl might be what you’re looking for: they appear as AbstractVectors but have keys in the same way structs do to be accessed with the dot . notation.
2 Likes
ComponentArrays.jl might be what you’re looking for: they appear as AbstractVectors but have keys in the same way structs do to be accessed with the dot . notation.