protobuf_serialization/internal

Source   Edit  

Procs

func fieldNumberOf(T: type; fieldName: static string): int {.compileTime,
    ...raises: [], gcsafe.}
Source   Edit  
func isImplicit(T: type): bool {.compileTime, ...raises: [], gcsafe.}
Source   Edit  
func isImplicit(T: type; fieldName: static string): bool {.compileTime,
    ...raises: [], gcsafe.}
Source   Edit  
func isOneof(T: type; fieldName: static string): bool {.compileTime, ...raises: [],
    gcsafe.}
Source   Edit  
func isPacked(T: type; fieldName: static string): Option[bool] {.compileTime,
    ...raises: [], gcsafe.}
Source   Edit  
func isProto(T: type): bool {.compileTime, ...raises: [], gcsafe.}
Source   Edit  
func isProto2(T: type): bool {.compileTime, ...raises: [], gcsafe.}
Source   Edit  
func isProto3(T: type): bool {.compileTime, ...raises: [], gcsafe.}
Source   Edit  
func isRequired(T: type; fieldName: static string): bool {.compileTime,
    ...raises: [], gcsafe.}
Source   Edit  
func protoEdition(T: type): int {.compileTime, ...raises: [], gcsafe.}
Source   Edit  
func supportsPacked(T: type; ProtoType: type ProtobufExt): bool {....raises: [],
    gcsafe.}
Source   Edit  
func supportsPacked(T: type; ProtoType: type SomeProto): bool {....raises: [],
    gcsafe.}
Source   Edit  
func verifySerializable[T](ty: typedesc[T]) {.compileTime, ...raises: [], gcsafe.}
Source   Edit  

Macros

macro enumOneofFields(T: type; kName, kVal, fName, fTyp, body: untyped): untyped {..}
Source   Edit  
macro setOneof(fieldVar: var object; kName: static[string]; kVal: untyped;
               fName: static[string]; fVal: untyped): untyped {..}
Source   Edit  

Templates

template flatType(T: type Protobuf; value: auto): type {..}
Source   Edit  
template protoType(InnerType, RootType, FieldType: untyped; fieldName: untyped) {..}
Source   Edit  
template unsupportedProtoType(FieldType, RootType, fieldName: untyped): untyped {..}
Source   Edit