Structureswift 6.0.1FoundationEssentials
MeasurementAttribute
- iOS
- 15+
- macOS
- 12+
- tvOS
- 15+
- watchOS
- 8+
struct MeasurementAttribute
struct MeasurementAttribute
s20FoundationEssentials15AttributeScopesO0A10AttributesV011MeasurementC0V
What are these?1WXM2
import FoundationEssentials
struct FoundationAttributes
@frozen enum AttributeScopes
let alternateDescription: AttributeScopes.FoundationAttributes.AlternateDescriptionAttribute
let byteCount: AttributeScopes.FoundationAttributes.ByteCountAttribute
let dateField: AttributeScopes.FoundationAttributes.DateFieldAttribute
let durationField: AttributeScopes.FoundationAttributes.DurationFieldAttribute
let imageURL: AttributeScopes.FoundationAttributes.ImageURLAttribute
let languageIdentifier: AttributeScopes.FoundationAttributes.LanguageIdentifierAttribute
let link: AttributeScopes.FoundationAttributes.LinkAttribute
let measurement: AttributeScopes.FoundationAttributes.MeasurementAttribute
let numberFormat: AttributeScopes.FoundationAttributes.NumberFormatAttributes
let personNameComponent: AttributeScopes.FoundationAttributes.PersonNameComponentAttribute
let replacementIndex: AttributeScopes.FoundationAttributes.ReplacementIndexAttribute
@frozen enum AlternateDescriptionAttribute
@frozen enum ByteCountAttribute
@frozen enum DateFieldAttribute
@frozen enum DurationFieldAttribute
@frozen enum ImageURLAttribute
@frozen enum LanguageIdentifierAttribute
@frozen enum LinkAttribute
struct NumberFormatAttributes
@frozen enum PersonNameComponentAttribute
@frozen enum ReplacementIndexAttribute
protocol AttributedStringKey
protocol DecodableAttributedStringKey : AttributedStringKey
protocol EncodableAttributedStringKey : AttributedStringKey
static let name: String
enum Component
typealias Value = AttributeScopes.FoundationAttributes.MeasurementAttribute.Component
static var inheritedByAddedText: Bool { get }
static var invalidationConditions: Set<AttributedString.AttributeInvalidationCondition>? { get }
static var runBoundaries: AttributedString.AttributeRunBoundaries? { get }
static func decode(from decoder: any Decoder) throws -> Self.Value
static func encode(_ value: Self.Value, to encoder: any Encoder) throws
var description: String { get }