A collection of indices for an arbitrary collection

    @frozen struct DefaultIndices<Elements> where Elements : Collection



    • typealias Element

      A type representing the sequence’s elements.

    • typealias Index

      A type that represents a position in the collection.

    • typealias Indices

      A type that represents the indices that are valid for subscripting the collection, in ascending order.

    • typealias Iterator

      A type that provides the collection’s iteration interface and encapsulates its iteration state.

    • typealias SubSequence

      A collection representing a contiguous subrange of this collection’s elements. The subsequence shares indices with the original collection.

    Instance Subscripts

    Instance Properties

    Instance Methods

    Removed Members

    Instance Methods