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. Public Struct
Flags
Public Struct
std.zig.Zir.Inst.BuiltinCall.Flags
pubconstFlags = packedstruct
Fields
is_nosuspend: bool
ensure_result_used: bool
_: u30 = 0
File
zig/Zir.zig:3143
3143314431453146314731483149315031513152
pubconstFlags = packedstruct {
is_nosuspend: bool,
ensure_result_used: bool,
_: u30 = 0,
comptime {
if (@sizeOf(Flags) != 4or@bitSizeOf(Flags) != 32)
@compileError("Layout of BuiltinCall.Flags needs to be updated!");
}
}