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

Bits

Public Struct
std.zig.Zir.Inst.FuncFancy.Bits
pub const Bits = packed struct(u32)

If both has_cc_ref and has_cc_body are false, it means auto calling convention. If both has_ret_ty_ref and has_ret_ty_body are false, it means void return type.

Fields

is_var_args: bool
is_inferred_error: bool
is_noinline: bool
has_cc_ref: bool
has_cc_body: bool
has_ret_ty_ref: bool
has_ret_ty_body: bool
has_any_noalias: bool
ret_ty_is_generic: bool
_: u23 = 0

File

zig/Zir.zig:2670
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
        pub const Bits = packed struct(u32) {
            is_var_args: bool,
            is_inferred_error: bool,
            is_noinline: bool,
            has_cc_ref: bool,
            has_cc_body: bool,
            has_ret_ty_ref: bool,
            has_ret_ty_body: bool,
            has_any_noalias: bool,
            ret_ty_is_generic: bool,
            _: u23 = 0,
        }