Reputation: 17367
Rust has a nice feature they called the Struct Update Syntax, which is a convenient way of creating a new struct from an existing struct without explicitly supplying all the parameters you want to copy over.
Does Swift have an equivalent feature?
Upvotes: 0
Views: 131