AttributedTextFormatting.AttributeContainerProxy
A proxy for a partially validated set of attributes.
Declaration
@dynamicMemberLookup struct AttributeContainerProxy<Scope, Attribute> where Scope : AttributeScope, Attribute : AttributedStringKey, Attribute.Value : SendableOverview
Exposes Attribute as read-write and all other attributes as read-only. The type automatically queries the underlying AttributedTextFormattingDefinition to constrain values that are accessed.