Instance Methodswift 6.0.3Swift
hash(into:)
- iOS
- 18.0+
- macOS
- 15.0+
- tvOS
- 18.0+
- visionOS
- 2.0+
- watchOS
- 11.0+
func hash(into hasher: inout Hasher)
func hash(into hasher: inout Hasher)
where Bound:Hashable
import Swift
struct Ranges
A collection of the ranges that make up a range set.
struct RangeSet<Bound> where Bound : Comparable
A set of values of any comparable type, represented by ranges.
@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.