AnyRandomAccessCollection

    A type-erased wrapper over any collection with indices that support random access traversal.

    @frozen struct AnyRandomAccessCollection<Element>

    An AnyRandomAccessCollection instance forwards its operations to a base collection having the same Element type, hiding the specifics of the underlying collection.

    Citizens in Swift

    Typealiases

    Type members

    Instance members

    Citizens in Swift

    where Element:Copyable, Element:Escapable

    Conformances

    Instance features

    Show obsolete interfaces (2)

    Hide obsolete interfaces