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 › ir › ModuleBlock › Alias Public Struct Alias Doc Source Public Struct std.zig.llvm.ir.ModuleBlock.Alias
pub const Alias = struct Fields Values File zig/llvm/ir.zig: 287
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313 pub const Alias = struct {
pub const ops = [_ ]AbbrevOp {
.{ .literal = @backingInt (ModuleBlock .Code .ALIAS ) }, // Code
.{ .vbr = 16 }, // strtab_offset
.{ .vbr = 16 }, // strtab_size
.{ .fixed_runtime = Builder .Type },
.{ .fixed = @bitSizeOf (Builder .AddrSpace ) },
ConstantAbbrev , // aliasee val
.{ .fixed = @bitSizeOf (Builder .Linkage ) },
.{ .fixed = @bitSizeOf (Builder .Visibility ) },
.{ .fixed = @bitSizeOf (Builder .DllStorageClass ) },
.{ .fixed = @bitSizeOf (Builder .ThreadLocal ) },
.{ .fixed = @bitSizeOf (Builder .UnnamedAddr ) },
.{ .fixed = @bitSizeOf (Builder .Preemption ) },
};
strtab_offset : usize ,
strtab_size : usize ,
type_index : Builder .Type ,
addr_space : Builder .AddrSpace ,
aliasee : u32 ,
linkage : Builder .Linkage ,
visibility : Builder .Visibility ,
dllstorageclass : Builder .DllStorageClass ,
thread_local : Builder .ThreadLocal ,
unnamed_addr : Builder .UnnamedAddr ,
preemption : Builder .Preemption ,
}