A single change to a collection.
SDK
- Xcode 11.0+
Framework
- Swift Standard Library
Declaration
@frozen enum CollectionDifference <ChangeElement>.Change
A single change to a collection.
SDK
Framework
@frozen enum CollectionDifference <ChangeElement>.Change
init(from: Decoder)
Creates a new instance by decoding from the given decoder.
var hashValue : Int
The hash value.
func encode(to: Encoder)
Encodes this value into the given encoder.
func hash(into: inout Hasher)
Hashes the essential components of this value by feeding them into the given hasher.
static func == (CollectionDifference<ChangeElement>.Change, CollectionDifference<ChangeElement>.Change) -> Bool
Returns a Boolean value indicating whether two values are equal.