Contents

AnyBidirectionalCollection

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

Declaration

@frozen struct AnyBidirectionalCollection<Element>

Overview

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

Topics

Initializers

Instance Methods

Default Implementations

See Also

Type-Erasing Wrappers