SwiftenumlibswiftCore
enum Swift.CollectionDifference.Change
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 7
- func
static CollectionDifference.Change<A where A: Equatable>.== infix(CollectionDifference<A>.Change, CollectionDifference<A>.Change) -> Bool - case
case insert(offset: Int, element: A, associatedWith: Int?) - case
case remove(offset: Int, element: A, associatedWith: Int?) - func
CollectionDifference.Change<A where A: Decodable, A: Encodable>.encode(to: Encoder) throws -> () - func
CollectionDifference.Change<A where A: Hashable>.hash(into: inout Hasher) -> () - init
CollectionDifference.Change<A where A: Decodable, A: Encodable>.init(from: Decoder) throws -> CollectionDifference<A>.Change - var
var hashValue: Int { get }
Header
enum Swift.CollectionDifference.Change { case insert(offset: Swift.Int, element: A, associatedWith: Swift.Int?) case remove(offset: Swift.Int, element: A, associatedWith: Swift.Int?) }