hi, this may sound like a stupid question as I think the answer is "no" but I would like to confirm since I don't have that much experience with Swift. Is there a way to constrain a protocol's associated type OR a generic type to use struct
s only?
I'm writing this generic function and I wish only structs to be passed as arguments.
Thanks