extracting(_:)
Constructs a new span over all the items of this span.
Declaration
func extracting(_: (UnboundedRange_) -> ()) -> Span<Element>Return Value
A Span over all the items of this span.
Discussion
The returned span’s first item is always at offset 0; unlike buffer slices, extracted spans do not share their indices with the span from which they are extracted.