Type-Erasing in Swift | AnyView behind the scenes

Technically, this is type-erasing and is akin to the standard library’s implementation of AnyCollection. However, it’s not that useful, since — at least in the case of SwiftUI — AnyView must not have generic type parameters to be used in the implementation of TupleView. Of course, I imagine that this kind of type erasing could be useful for not exposing internal types to the public API.