HashableWitness

public protocol HashableWitness<Element> : EquatableWitness

A type serving as a witness to another type’s conformance to Hashable.

  • The element for which Self serves as a witness.

    Declaration

    Swift

    associatedtype Element
  • Hashes the salient features of element by feeding them into hasher.

    Declaration

    Swift

    static func hash(_ element: Element, into hasher: inout Hasher)