Instance Methodswift-algorithms 1.2.1Algorithms
hash(into:)
Reductions.swift:343func hash(into hasher: inout Hasher)
func hash(into hasher: inout Hasher)
s10Algorithms27ExclusiveReductionsSequenceVAASlRzrlE5IndexVAASHADRpzrlE4hash4intoys6HasherVz_tF
What are these?2ITK7
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
struct ExclusiveReductionsSequence<Base, Result> where Base : Sequence
A sequence of applying a transform to the element of a sequence and the previously transformed result.
@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.