by michaelg7x · 3y ago · 0 comments
That seems similar to using "opaque {}", if I am understanding you correctly?
I think either of those solutions could potentially work, at the cost of one explicit cast in each function that actually needs to access the data. I would love to know if this works well enough in practice.