Contents

AnySequence

A type-erased sequence.

Declaration

@frozen struct AnySequence<Element>

Overview

An instance of AnySequence forwards its operations to an underlying base sequence having the same Element type, hiding the specifics of the underlying sequence.

Topics

Initializers

Instance Methods

Default Implementations

See Also

Type-Erasing Wrappers