Instance Subscriptswift 6.0.3FoundationEssentials
subscript(_:)
- iOS
- 15+
- macOS
- 12+
- tvOS
- 15+
- watchOS
- 8+
@preconcurrency subscript<K>(_: K.Type) -> K.Value? where K : AttributedStringKey, K.Value : Sendable { get }
@preconcurrency subscript<K>(_: K.Type) -> K.Value? where K : AttributedStringKey, K.Value : Sendable { get }
s20FoundationEssentials16AttributedStringV4RunsV3RunVy5ValueQzSgxmcAA0cD3KeyRzluip
What are these?84O2B
import FoundationEssentials
@dynamicMemberLookup struct Run
@dynamicMemberLookup struct AttributedString
struct Runs
associatedtype Value : Hashable
protocol AttributedStringKey
protocol Sendable
var attributes: AttributeContainer { get }
var description: String { get }
var range: Range<AttributedString.Index> { get }
@preconcurrency subscript<K>(dynamicMember keyPath: KeyPath<AttributeDynamicLookup, K>) -> K.Value? where K : AttributedStringKey, K.Value : Sendable { get }
subscript<S>(dynamicMember keyPath: KeyPath<AttributeScopes, S.Type>) -> ScopedAttributeContainer<S> where S : AttributeScope { get }
static func == (lhs: AttributedString.Runs.Run, rhs: AttributedString.Runs.Run) -> Bool