HashableKeyPathProvider
public protocol HashableKeyPathProvider : Hashable
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 forHashable
conformance.Use the
HashableKeyPathCollectionBuilder
result builder to implement this property.Declaration
Swift
static var hashableKeyPaths: HashableKeyPathCollection<Self> { get }
-
==(_:
Extension method_: ) Declaration
Swift
public static func == (lhs: Self, rhs: Self) -> Bool
-
hash(into:
Extension method) Declaration
Swift
public func hash(into hasher: inout Hasher)