StructureSwift

    LazySequence

    A sequence containing the same elements as a Base sequence, but on which some operations such as map and filter are implemented lazily.

    @frozen struct LazySequence<Base> where Base : Sequence

    Overview

    Members

    Typealiases

    • typealias Element

      A type representing the sequence’s elements.

    • typealias Elements

      A Sequence that can contain the same elements as this one, possibly with a simpler type.

    • typealias Index

      A type that represents a valid 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