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 › Builder › Metadata › Formatter › FormatData Private Struct FormatData Doc Source Private Struct std.zig.llvm.Builder.Metadata.Formatter.FormatData
const FormatData = struct Fields Types File zig/llvm/Builder.zig: 9589
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618 const FormatData = struct {
formatter : *Formatter ,
prefix : []const u8 = "" ,
node : Node ,
specialized : ?FormatFlags ,
const Node = union (enum ) {
none ,
@"inline" : Metadata ,
index : u32 ,
local_value : ValueData ,
local_metadata : ValueData ,
local_inline : Metadata ,
local_index : u32 ,
string : Metadata .String ,
bool : bool ,
u32 : u32 ,
u64 : u64 ,
di_flags : DIFlags ,
sp_flags : Subprogram .DISPFlags ,
raw : []const u8 ,
const ValueData = struct {
value : Value ,
function : Function .Index ,
};
};
}