StructureSwift5.9.0

    DefaultIndices

    A collection of indices for an arbitrary collection

    @frozen struct DefaultIndices<Elements> where Elements : Collection

    Citizens in Swift

    where Elements:Collection

    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 Elements:Collection, Elements:Sendable, Elements.Index:Sendable

    Conformances

    • protocol Sendable

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

    Citizens in Swift

    where Elements:BidirectionalCollection

    Conformances

    Members

    Features

    Citizens in Swift

    where Elements:RandomAccessCollection

    Conformances