StructureSwift5.9.0

    CollectionDifference

    A collection of insertions and removals that describe the difference between two ordered collection states.

    iOS
    13.0+
    macOS
    10.15+
    tvOS
    13.0+
    watchOS
    6.0+
    struct CollectionDifference<ChangeElement>

    Citizens in Swift

    Conformances

    • protocol Collection

      A sequence whose elements can be traversed multiple times, nondestructively, and accessed by an indexed subscript.

    • protocol Sequence

      A type that provides sequential, iterated access to its elements.

    Members

    Features

    Citizens in Swift

    where ChangeElement:Hashable

    Conformances

    • protocol Hashable

      A type that can be hashed into a Hasher to produce an integer hash value.

    Members

    Citizens in Swift

    where ChangeElement:Decodable, ChangeElement:Encodable

    Conformances

    Members

    Citizens in Swift

    where ChangeElement:Equatable

    Conformances

    Features

    Citizens in Swift

    where ChangeElement:Sendable

    Conformances

    • protocol Sendable

      A type whose values can safely be passed across concurrency domains by copying.