swift - `where` equivalent in type declaration -
i want declare associatedtype conforms protocol specific property, namely rawrepresentable self.rawvalue == string.
this got far.
protocol statefulview: class { associatedtype statetype: rawrepresentable, hashable } but it's not precise enough. need where clause, where put it?
Comments
Post a Comment