Structureswift 6.0.1FoundationEssentials
Iterator
- iOS
- 15+
- macOS
- 12+
- tvOS
- 15+
- watchOS
- 8+
struct Iterator
struct Iterator
s20FoundationEssentials16AttributedStringV4RunsV16AttributesSlice3V8IteratorV
What are these?3W3SR
import FoundationEssentials
@preconcurrency struct AttributesSlice3<T, U, V> where T : AttributedStringKey, U : AttributedStringKey, V : AttributedStringKey, T.Value : Sendable, U.Value : Sendable, V.Value : Sendable
@dynamicMemberLookup struct AttributedString
struct Runs
var endIndex: AttributedString.Runs.AttributesSlice3<T, U, V>.Index { get }
var startIndex: AttributedString.Runs.AttributesSlice3<T, U, V>.Index { get }
subscript(position: AttributedString.Index) -> AttributedString.Runs.AttributesSlice3<T, U, V>.Element { get }
func index(after i: AttributedString.Runs.AttributesSlice3<T, U, V>.Index) -> AttributedString.Runs.AttributesSlice3<T, U, V>.Index
func index(before i: AttributedString.Runs.AttributesSlice3<T, U, V>.Index) -> AttributedString.Runs.AttributesSlice3<T, U, V>.Index
func makeIterator() -> AttributedString.Runs.AttributesSlice3<T, U, V>.Iterator
typealias Element = (T.Value?, U.Value?, V.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.AttributesSlice3<T, U, V>.Iterator.Element?
typealias Element = AttributedString.Runs.AttributesSlice3<T, U, V>.Element