EquatableKeyPathProvider
public protocol EquatableKeyPathProvider : Equatable
A protocol that defines a single function that can be used to synthesise Equatable
and Hashable
conformance.
-
A collection of
KeyPath
s that result in values used forEquatable
conformance.Use the
EquatableKeyPathCollectionBuilder
result builder to implement this property.Declaration
Swift
static var equatableKeyPaths: EquatableKeyPathCollection<Self> { get }
-
==(_:
Extension method_: ) Declaration
Swift
public static func == (lhs: Self, rhs: Self) -> Bool