struct
ReverseRandomAccessCollection
<
Base
:
Collection
where
Base
.
Index
:
RandomAccessIndex
>
Associated Types |
A type that represents a valid position in the collection. Valid indices consist of the position of every element and a "past the end" position that's not valid for use as a subscript.
A type that provides the sequence's iteration interface and encapsulates its iteration state. |
---|---|
Import |
|
A Collection that presents the elements of its
Base
collection in reverse order.Note: This type is the result of
x.reversed()
wherex
is a collection having random access indices. See Also:ReverseCollection