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
PtrType
Public Struct
std.zig.Zir.Inst.PtrType
pubconstPtrType = struct
Stored in extra. Depending on the flags in Data, there will be up to 5 trailing Ref fields:
sentinel: Ref // if has_sentinel flag is set
align: Ref // if has_align flag is set
address_space: Ref // if has_addrspace flag is set
Stored in extra. Depending on the flags in Data, there will be up to 5 trailing Ref fields:
has_sentinelflag is sethas_alignflag is sethas_addrspaceflag is sethas_bit_rangeflag is sethas_bit_rangeflag is set