Documentation ¶
Index ¶
- Variables
- func VDLReadVSmallUnion(dec vdl.Decoder, x *VSmallUnion) error
- type VArray
- type VByteArray
- type VByteList
- type VEnum
- type VLargeStruct
- type VList
- type VListAny
- type VMap
- type VNumber
- type VSet
- type VSmallStruct
- type VSmallUnion
- type VSmallUnionA
- type VSmallUnionB
- type VSmallUnionC
- type VString
- type XArray
- type XByteArray
- type XByteList
- type XLargeStruct
- type XList
- type XListAny
- type XMap
- type XNumber
- type XSmallStruct
- type XString
Constants ¶
This section is empty.
Variables ¶
View Source
var VEnumAll = [...]VEnum{VEnumA, VEnumB, VEnumC}
VEnumAll holds all labels for VEnum.
Functions ¶
func VDLReadVSmallUnion ¶
func VDLReadVSmallUnion(dec vdl.Decoder, x *VSmallUnion) error
Types ¶
type VByteArray ¶
type VByteArray [3]byte
func (VByteArray) VDLIsZero ¶
func (x VByteArray) VDLIsZero() bool
func (VByteArray) VDLReflect ¶
func (VByteArray) VDLReflect(struct { Name string `vdl:"v.io/v23/vom/internal.VByteArray"` })
type VEnum ¶
type VEnum int
func VEnumFromString ¶
VEnumFromString creates a VEnum from a string label.
func (VEnum) VDLReflect ¶
type VLargeStruct ¶
type VLargeStruct struct { F1 int32 F2 int32 F3 int32 F4 int32 F5 int32 F6 int32 F7 int32 F8 int32 F9 int32 F10 int32 F11 int32 F12 int32 F13 int32 F14 int32 F15 int32 F16 int32 F17 int32 F18 int32 F19 int32 F20 int32 F21 int32 F22 int32 F23 int32 F24 int32 F25 int32 F26 int32 F27 int32 F28 int32 F29 int32 F30 int32 F31 int32 F32 int32 F33 int32 F34 int32 F35 int32 F36 int32 F37 int32 F38 int32 F39 int32 F40 int32 F41 int32 F42 int32 F43 int32 F44 int32 F45 int32 F46 int32 F47 int32 F48 int32 F49 int32 F50 int32 }
func (VLargeStruct) VDLIsZero ¶
func (x VLargeStruct) VDLIsZero() bool
func (VLargeStruct) VDLReflect ¶
func (VLargeStruct) VDLReflect(struct { Name string `vdl:"v.io/v23/vom/internal.VLargeStruct"` })
type VListAny ¶
func (VListAny) VDLReflect ¶
type VMap ¶
func (VMap) VDLReflect ¶
type VSmallStruct ¶
func (VSmallStruct) VDLIsZero ¶
func (x VSmallStruct) VDLIsZero() bool
func (VSmallStruct) VDLReflect ¶
func (VSmallStruct) VDLReflect(struct { Name string `vdl:"v.io/v23/vom/internal.VSmallStruct"` })
type VSmallUnion ¶
type VSmallUnion interface { // Index returns the field index. Index() int // Interface returns the field value as an interface. Interface() interface{} // Name returns the field name. Name() string // VDLReflect describes the VSmallUnion union type. VDLReflect(__VSmallUnionReflect) VDLIsZero() bool VDLWrite(vdl.Encoder) error }
VSmallUnion represents any single field of the VSmallUnion union type.
type VSmallUnionA ¶
type VSmallUnionA struct{ Value int32 }
VSmallUnionA represents field A of the VSmallUnion union type.
func (VSmallUnionA) Index ¶
func (x VSmallUnionA) Index() int
func (VSmallUnionA) Interface ¶
func (x VSmallUnionA) Interface() interface{}
func (VSmallUnionA) Name ¶
func (x VSmallUnionA) Name() string
func (VSmallUnionA) VDLIsZero ¶
func (x VSmallUnionA) VDLIsZero() bool
func (VSmallUnionA) VDLReflect ¶
func (x VSmallUnionA) VDLReflect(__VSmallUnionReflect)
type VSmallUnionB ¶
type VSmallUnionB struct{ Value string }
VSmallUnionB represents field B of the VSmallUnion union type.
func (VSmallUnionB) Index ¶
func (x VSmallUnionB) Index() int
func (VSmallUnionB) Interface ¶
func (x VSmallUnionB) Interface() interface{}
func (VSmallUnionB) Name ¶
func (x VSmallUnionB) Name() string
func (VSmallUnionB) VDLIsZero ¶
func (x VSmallUnionB) VDLIsZero() bool
func (VSmallUnionB) VDLReflect ¶
func (x VSmallUnionB) VDLReflect(__VSmallUnionReflect)
type VSmallUnionC ¶
type VSmallUnionC struct{ Value bool }
VSmallUnionC represents field C of the VSmallUnion union type.
func (VSmallUnionC) Index ¶
func (x VSmallUnionC) Index() int
func (VSmallUnionC) Interface ¶
func (x VSmallUnionC) Interface() interface{}
func (VSmallUnionC) Name ¶
func (x VSmallUnionC) Name() string
func (VSmallUnionC) VDLIsZero ¶
func (x VSmallUnionC) VDLIsZero() bool
func (VSmallUnionC) VDLReflect ¶
func (x VSmallUnionC) VDLReflect(__VSmallUnionReflect)
type XByteArray ¶
type XByteArray [3]byte
type XLargeStruct ¶
type XLargeStruct struct { F1 int32 F2 int32 F3 int32 F4 int32 F5 int32 F6 int32 F7 int32 F8 int32 F9 int32 F10 int32 F11 int32 F12 int32 F13 int32 F14 int32 F15 int32 F16 int32 F17 int32 F18 int32 F19 int32 F20 int32 F21 int32 F22 int32 F23 int32 F24 int32 F25 int32 F26 int32 F27 int32 F28 int32 F29 int32 F30 int32 F31 int32 F32 int32 F33 int32 F34 int32 F35 int32 F36 int32 F37 int32 F38 int32 F39 int32 F40 int32 F41 int32 F42 int32 F43 int32 F44 int32 F45 int32 F46 int32 F47 int32 F48 int32 F49 int32 F50 int32 }
type XSmallStruct ¶
Click to show internal directories.
Click to hide internal directories.