MapKeyType
Marker protocol for types that can be used as map keys
@preconcurrency protocol MapKeyType : FieldTypeBrowse conforming typesMarker protocol for types that can be used as map keys
@preconcurrency protocol MapKeyType : FieldTypeimport SwiftProtobufSupport library for Swift code generated by protoc-gen-swift.
@preconcurrency protocol FieldType : Sendableprotocol SendableA thread-safe type whose values can be shared across arbitrary concurrent contexts without introducing a risk of data races. Values of the type may have no shared mutable state, or they may protect that state with a lock or by forcing it to only be accessed from a specific actor.
static func _lessThan(lhs: Self.BaseType, rhs: Self.BaseType) -> Bool A comparison function for where order is needed. Can’t use Comparable because Bool doesn’t conform, and since it is public there is no way to add a conformance internal to SwiftProtobuf.
protocol Comparable : EquatableA type that can be compared using the relational operators <, <=, >=, and >.
static func _lessThan(lhs: Self.BaseType, rhs: Self.BaseType) -> Bool