You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no way to deconstruct a struct value or access the field names of a struct, which means that there is no way for a user to create a macro that can do something like this:
Hypothetically, one might be able to allow flatten to flatten a struct into pairs of field names and values, and then add some syntax to for that can bind to both the field name and the value, enabling the creation of a macro like this:
There is no way to deconstruct a struct value or access the field names of a struct, which means that there is no way for a user to create a macro that can do something like this:
Hypothetically, one might be able to allow
flatten
to flatten a struct into pairs of field names and values, and then add some syntax tofor
that can bind to both the field name and the value, enabling the creation of a macro like this:However, this is not necessarily the only or optimal solution.
The text was updated successfully, but these errors were encountered: