distance(from:to:)

iOS
15+
macOS
12+
tvOS
15+
watchOS
8+
func distance(from start: AttributedString.Runs.Index, to end: AttributedString.Runs.Index) -> Int