Instance Methodswift-algorithms 1.2.1Algorithms
hash(into:)
AdjacentPairs.swift:306func hash(into hasher: inout Hasher)
func hash(into hasher: inout Hasher)
s10Algorithms23AdjacentPairsCollectionV5IndexVAASHADRpzrlE4hash4intoys6HasherVz_tF
What are these?55JA0
where Base.Index:Hashable
import Algorithms
Swift Algorithms is an open-source package of sequence and collection algorithms, along with their related types.
struct Index
A position in an AdjacentPairsCollection
instance.
struct AdjacentPairsCollection<Base> where Base : Collection
A collection of adjacent pairs of elements built from an underlying collection.
@frozen struct Hasher
The universal hash function used by Set
and Dictionary
.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.