Problem Statement
Why are views defined as `struct`s rather than `class` in SwiftUI?
Explanation
In SwiftUI views are typically defined as `struct`s to leverage value semantics, which avoids the complexity of shared mutable state inherent in reference types. Using structs aligns with the declarative model: views are lightweight descriptions of UI, and changes in state cause new view values rather than mutating existing ones.