Operatorswift 6.0.3FoundationEssentials
==(_:_:)
- iOS
- 15+
- macOS
- 12+
- tvOS
- 15+
- watchOS
- 8+
static func == (lhs: AttributedSubstring, rhs: AttributedSubstring) -> Bool
static func == (lhs: AttributedSubstring, rhs: AttributedSubstring) -> Bool
s20FoundationEssentials19AttributedSubstringV2eeoiySbAC_ACtFZ
What are these?13MV1
import FoundationEssentials
@dynamicMemberLookup struct AttributedSubstring
@frozen struct Bool
A value type whose instances are either true
or false
.
init()
var base: AttributedString { get }
var characters: AttributedString.CharacterView { get }
var description: String { get }
var endIndex: AttributedString.Index { get }
var runs: AttributedString.Runs { get }
var startIndex: AttributedString.Index { get }
var unicodeScalars: AttributedString.UnicodeScalarView { get }
@preconcurrency subscript<K>(_: K.Type) -> K.Value? where K : AttributedStringKey, K.Value : Sendable { get set }
subscript(bounds: some RangeExpression<AttributedString.Index>) -> AttributedSubstring { get }
@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 }
mutating func mergeAttributes(_ attributes: AttributeContainer, mergePolicy: AttributedString.AttributeMergePolicy = .keepNew)
mutating func replaceAttributes(_ attributes: AttributeContainer, with others: AttributeContainer)
mutating func setAttributes(_ attributes: AttributeContainer)