Static Methodswift-protobuf 1.29.0SwiftProtobuf
_lessThan(lhs:rhs:)
Custom _lessThan since Bool
isn’t Comparable
.
static func _lessThan(lhs: BaseType, rhs: BaseType) -> Bool
Custom _lessThan since Bool
isn’t Comparable
.
static func _lessThan(lhs: BaseType, rhs: BaseType) -> Bool
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct ProtobufBool
Bool
typealias BaseType = Bool
@frozen struct Bool
A value type whose instances are either true
or false
.
static var proto3DefaultValue: Bool { get }
static func decodeRepeated<D>(value: inout [BaseType], from decoder: inout D) throws where D : Decoder
static func decodeSingular<D>(value: inout BaseType?, from decoder: inout D) throws where D : Decoder
static func visitPacked<V>(value: [BaseType], fieldNumber: Int, with visitor: inout V) throws where V : Visitor
static func visitRepeated<V>(value: [BaseType], fieldNumber: Int, with visitor: inout V) throws where V : Visitor
static func visitSingular<V>(value: BaseType, fieldNumber: Int, with visitor: inout V) throws where V : Visitor