Zig 0.17.0-dev (Split by item) This is an example of documentation generated by
ZigDoc , an alternative to Zig's built-in
Auto Doc feature. See also
examples in other modes/formats . The project being documented here (as the example) is the Zig standard library.
std › zig › llvm › BitcodeReader › Abbrev › Operand Private Union Operand Doc Source Private Union std.zig.llvm.BitcodeReader.Abbrev.Operand
const Operand = union (enum ) Fields literal : u64 encoding : union (Encoding ) { fixed : u7 , vbr : u6 , array : u3 , char6 , blob : u3 , } align_32_bits : align_32_bits block_len : block_len abbrev_op : abbrev_op Types Values File zig/llvm/BitcodeReader.zig: 466
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488 const Operand = union (enum ) {
literal : u64 ,
encoding : union (Encoding ) {
fixed : u7 ,
vbr : u6 ,
array : u3 ,
char6 ,
blob : u3 ,
},
align_32_bits ,
block_len ,
abbrev_op ,
const literal_id = std .math .maxInt (u64 );
const Encoding = enum (u3 ) {
fixed = 1 ,
vbr = 2 ,
array = 3 ,
char6 = 4 ,
blob = 5 ,
_ ,
};
}