I love the extension idea, noting that for later. :)
But I do need to be able to change the view during runtime, so I settled on just type-erasing to AnyView for now.
But I do need to be able to change the view during runtime, so I settled on just type-erasing to AnyView for now.
Note that since this is statically-typed, the following will fail:
If you want to be able to do that, you'd have to write something like