Static Methodswift-protobuf 1.28.1SwiftProtobuf
visitSingular(value:fieldNumber:with:)
FieldTypes.swift:371static func visitSingular<V>(value: BaseType, fieldNumber: Int, with visitor: inout V) throws where V : Visitor
Other members in extension
Typealiases
Type members
static var proto3DefaultValue: Bool
static func decodeRepeated<D>(value: inout [BaseType], from: inout D
) throws static func decodeSingular<D>(value: inout BaseType?, from: inout D
) throws static func visitPacked<V>(value: [BaseType], fieldNumber: Int, with: inout V
) throws static func visitRepeated<V>(value: [BaseType], fieldNumber: Int, with: inout V
) throws
Show implementation details (1)
Hide implementation details
static func _lessThan(lhs: BaseType, rhs: BaseType
) -> Bool Custom _lessThan since
Bool
isn’tComparable
.