Structureswift-protobuf 1.29.0SwiftProtobuf
RepeatedExtensionField
Repeated fields
struct RepeatedExtensionField<T> where T : FieldType
Repeated fields
struct RepeatedExtensionField<T> where T : FieldType
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
@preconcurrency protocol FieldType : Sendable
@preconcurrency protocol AnyExtensionField : CustomDebugStringConvertible, Sendable
Core protocols implemented by generated extensions.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol Equatable
A type that can be compared for value equality.
@preconcurrency protocol ExtensionField : Hashable, AnyExtensionField
The regular ExtensionField type exposes the value directly.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
init?<D>(protobufExtension: any AnyMessageExtension, decoder: inout D) throws where D : Decoder
init(protobufExtension: any AnyMessageExtension, value: ValueType)
var debugDescription: String { get }
var protobufExtension: any AnyMessageExtension
var value: ValueType
static func == (lhs: RepeatedExtensionField, rhs: RepeatedExtensionField) -> Bool
mutating func decodeExtensionField<D>(decoder: inout D) throws where D : Decoder
func hash(into hasher: inout Hasher)
func isEqual(other: any AnyExtensionField) -> Bool
func traverse<V>(visitor: inout V) throws where V : Visitor
typealias BaseType = T.BaseType
typealias ValueType = [BaseType]
var isInitialized: Bool { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.