Structureswift-protobuf 1.29.0SwiftProtobuf
ProtobufFloat
Float traits
struct ProtobufFloat
Float traits
struct ProtobufFloat
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
@preconcurrency protocol FieldType : Sendable
@preconcurrency protocol MapValueType : FieldType
Marker Protocol for types that can be used as map values.
protocol Sendable
static var proto3DefaultValue: Float { 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
typealias BaseType = Float