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