Does SwiftUI pass views via the preference and environment, if so, how?

I am under the assumption that SwiftUI does pass views via preference atleast (navigationDestination, toolbar, sheet, alerts, popover etc.,). How does it maintain view identity and does it wrap the passing view in AnyView or internally it uses type inference magic, that is not available to us?. If it does not, then how does it pass them instead ?

Does SwiftUI pass views via the preference and environment, if so, how?
 
 
Q