Structureswift 6.0.1FoundationEssentials
Iterator
- iOS
- 15+
- macOS
- 12+
- tvOS
- 15+
- watchOS
- 8+
struct Iterator
struct Iterator
s20FoundationEssentials16AttributedStringV4RunsV16AttributesSlice1V8IteratorV
What are these?43Q4L
import FoundationEssentials
@preconcurrency struct AttributesSlice1<T> where T : AttributedStringKey, T.Value : Sendable
@dynamicMemberLookup struct AttributedString
struct Runs
var endIndex: AttributedString.Runs.AttributesSlice1<T>.Index { get }
var startIndex: AttributedString.Runs.AttributesSlice1<T>.Index { get }
subscript(position: AttributedString.Index) -> AttributedString.Runs.AttributesSlice1<T>.Element { get }
func index(after i: AttributedString.Runs.AttributesSlice1<T>.Index) -> AttributedString.Runs.AttributesSlice1<T>.Index
func index(before i: AttributedString.Runs.AttributesSlice1<T>.Index) -> AttributedString.Runs.AttributesSlice1<T>.Index
func makeIterator() -> AttributedString.Runs.AttributesSlice1<T>.Iterator
typealias Element = (T.Value?, Range<AttributedString.Index>)
typealias Index = AttributedString.Index
protocol IteratorProtocol<Element>
A type that supplies the values of a sequence one at a time.
protocol Sendable
mutating func next() -> AttributedString.Runs.AttributesSlice1<T>.Iterator.Element?
typealias Element = AttributedString.Runs.AttributesSlice1<T>.Element