Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
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

AllocExtended

Public Struct
std.zig.Zir.Inst.AllocExtended
pub const AllocExtended = struct

Trailing:

  1. type_inst: Ref, // if small 0b000X is set
  2. align_inst: Ref, // if small 0b00X0 is set

Fields

src_node: Ast.Node.Offset

Structs

File

zig/Zir.zig:3936
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
    pub const AllocExtended = struct {
        src_node: Ast.Node.Offset,

        pub const Small = packed struct(u16) {
            has_type: bool,
            has_align: bool,
            is_const: bool,
            is_comptime: bool,
            _: u12 = 0,
        };
    }