Required Instance Methodswift-protobuf 1.29.0SwiftProtobuf
decodeExtensionField(decoder:)
Merging field decoding
mutating func decodeExtensionField<T>(decoder: inout T) throws where T : Decoder
Merging field decoding
mutating func decodeExtensionField<T>(decoder: inout T) throws where T : Decoder
s13SwiftProtobuf17AnyExtensionFieldP06decodedE07decoderyqd__z_tKAA7DecoderRd__lF
What are these?3AMQV
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
@preconcurrency protocol AnyExtensionField : CustomDebugStringConvertible, Sendable
Core protocols implemented by generated extensions.
protocol Decoder
Abstract protocol used by the generated code to deserialize data.
var isInitialized: Bool { get }
Check if the field is initialized.
var protobufExtension: any AnyMessageExtension { get }
func hash(into hasher: inout Hasher)
func isEqual(other: any AnyExtensionField) -> Bool
func traverse<V>(visitor: inout V) throws where V : Visitor
Fields know their own type, so can dispatch to a visitor