Structureswift 6.0.1FoundationEssentials
Builder
- iOS
- 15+
- macOS
- 12+
- tvOS
- 15+
- watchOS
- 8+
struct Builder<T> where T : AttributedStringKey
struct Builder<T> where T : AttributedStringKey
import FoundationEssentials
@dynamicMemberLookup struct AttributeContainer
protocol AttributedStringKey
init()
static subscript<K>(dynamicMember keyPath: KeyPath<AttributeDynamicLookup, K>) -> AttributeContainer.Builder<K> where K : AttributedStringKey { get }
var description: String { get }
@preconcurrency subscript<T>(_: T.Type) -> T.Value? where T : AttributedStringKey, T.Value : Sendable { get set }
@preconcurrency subscript<K>(dynamicMember keyPath: KeyPath<AttributeDynamicLookup, K>) -> K.Value? where K : AttributedStringKey, K.Value : Sendable { get set }
subscript<S>(dynamicMember keyPath: KeyPath<AttributeScopes, S.Type>) -> ScopedAttributeContainer<S> where S : AttributeScope { get set }
subscript<K>(dynamicMember keyPath: KeyPath<AttributeDynamicLookup, K>) -> AttributeContainer.Builder<K> where K : AttributedStringKey { get }
mutating func merge(_ other: AttributeContainer, mergePolicy: AttributedString.AttributeMergePolicy = .keepNew)
func merging(_ other: AttributeContainer, mergePolicy: AttributedString.AttributeMergePolicy = .keepNew) -> AttributeContainer
protocol Sendable
@preconcurrency func callAsFunction(_ value: T.Value) -> AttributeContainer where T.Value : Sendable