PackedEnumExtensionField
Packed Repeated Enum fields
struct PackedEnumExtensionField<E> where E : Enum, E.RawValue == IntTODO: This is almost (but not quite) identical to RepeatedEnumFields; find a way to collapse the implementations.
Packed Repeated Enum fields
struct PackedEnumExtensionField<E> where E : Enum, E.RawValue == IntTODO: This is almost (but not quite) identical to RepeatedEnumFields; find a way to collapse the implementations.
import SwiftProtobufSupport library for Swift code generated by protoc-gen-swift.
@preconcurrency protocol Enum : Hashable, RawRepresentable, SendableGenerated enum types conform to this protocol.
associatedtype RawValueThe raw type that can be used to represent all values of the conforming type.
@frozen struct IntA signed integer value type.
@preconcurrency protocol AnyExtensionField : CustomDebugStringConvertible, SendableCore protocols implemented by generated extensions.
protocol CustomDebugStringConvertibleA type with a customized textual representation suitable for debugging purposes.
protocol EquatableA type that can be compared for value equality.
@preconcurrency protocol ExtensionField : Hashable, AnyExtensionFieldThe regular ExtensionField type exposes the value directly.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol SendableA thread-safe type whose values can be shared across arbitrary concurrent contexts without introducing a risk of data races. Values of the type may have no shared mutable state, or they may protect that state with a lock or by forcing it to only be accessed from a specific actor.
init?<D>(protobufExtension: any AnyMessageExtension, decoder: inout D) throws where D : Decoder init(protobufExtension: any AnyMessageExtension, value: PackedEnumExtensionField<E>.ValueType) var debugDescription: String { get }var protobufExtension: any AnyMessageExtensionvar value: PackedEnumExtensionField<E>.ValueTypestatic func == (lhs: PackedEnumExtensionField<E>, rhs: PackedEnumExtensionField<E>) -> Bool mutating func decodeExtensionField<D>(decoder: inout D) throws where D : Decoder func hash(into hasher: inout Hasher) func isEqual(other: any AnyExtensionField) -> Bool func traverse<V>(visitor: inout V) throws where V : Visitor typealias BaseType = Etypealias ValueType = [E]var isInitialized: Bool { get }static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.