Required Initializerswift-protobuf 1.29.0SwiftProtobuf
init(protobufExtension:value:)
ExtensionFields.swift:54init(protobufExtension: any AnyMessageExtension, value: ValueType)
init(protobufExtension: any AnyMessageExtension, value: ValueType)
s13SwiftProtobuf14ExtensionFieldP08protobufC05valuexAA010AnyMessageC0_p_9ValueTypeQztcfc
What are these?5ON36
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
@preconcurrency protocol ExtensionField : Hashable, AnyExtensionField
The regular ExtensionField type exposes the value directly.
@preconcurrency protocol AnyMessageExtension : Sendable
Type-erased MessageExtension field implementation.
associatedtype ValueType
init?<D>(protobufExtension: any AnyMessageExtension, decoder: inout D) throws where D : Decoder
var value: ValueType { get set }