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

Item

Public Struct
std.zig.Zir.Inst.StructInit.Item
pub const Item = struct

Fields

field_type: Index

The struct_init_field_type ZIR instruction for this field init.

init: Ref

The field init expression to be used as the field value. This value will be coerced to the field type if not already.

File

zig/Zir.zig:3818
3818
3819
3820
3821
3822
3823
3824
        pub const Item = struct {
            /// The `struct_init_field_type` ZIR instruction for this field init.
            field_type: Index,
            /// The field init expression to be used as the field value. This value will be coerced
            /// to the field type if not already.
            init: Ref,
        }