static func encode(Self.Value, to: Encoder)
Encodes a value to the provided encoder.
Availability 有効性
Technology
protocol EncodableAttributedStringKey
Implement this protocol to make an attribute encodable. Encoding an Attributed
or Attribute
drops any attributes whose types don’t conform to this protocol.
static func encode(Self.Value, to: Encoder)
AttributeScopes.FoundationAttributes.AlternateDescriptionAttribute
AttributeScopes.FoundationAttributes.ByteCountAttribute
AttributeScopes.FoundationAttributes.DateFieldAttribute
AttributeScopes.FoundationAttributes.ImageURLAttribute
AttributeScopes.FoundationAttributes.InflectionAlternativeAttribute
AttributeScopes.FoundationAttributes.InflectionRuleAttribute
AttributeScopes.FoundationAttributes.InlinePresentationIntentAttribute
AttributeScopes.FoundationAttributes.LanguageIdentifierAttribute
AttributeScopes.FoundationAttributes.LinkAttribute
AttributeScopes.FoundationAttributes.MeasurementAttribute
AttributeScopes.FoundationAttributes.MorphologyAttribute
AttributeScopes.FoundationAttributes.NumberFormatAttributes.NumberPartAttribute
AttributeScopes.FoundationAttributes.NumberFormatAttributes.SymbolAttribute
AttributeScopes.FoundationAttributes.PersonNameComponentAttribute
AttributeScopes.FoundationAttributes.PresentationIntentAttribute
AttributeScopes.FoundationAttributes.ReplacementIndexAttribute
protocol DecodableAttributedStringKey
typealias CodableAttributedStringKey