Required Instance Propertyswift-protobuf 1.29.0SwiftProtobuf
isInitialized
Check if the field is initialized.
var isInitialized: Bool { get }
Check if the field is initialized.
var isInitialized: Bool { get }
s13SwiftProtobuf17AnyExtensionFieldP13isInitializedSbvp
What are these?4AR2D
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
@preconcurrency protocol AnyExtensionField : CustomDebugStringConvertible, Sendable
Core protocols implemented by generated extensions.
@frozen struct Bool
A value type whose instances are either true
or false
.
var protobufExtension: any AnyMessageExtension { get }
mutating func decodeExtensionField<T>(decoder: inout T) throws where T : Decoder
Merging field decoding
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
var isInitialized: Bool { get }