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

Small

Public Struct
std.zig.Zir.Inst.StructDecl.Small
pub const Small = packed struct(u16)

Fields

has_captures_len: bool
has_decls_len: bool
has_fields_len: bool
name_strategy: NameStrategy
layout: std.lang.Type.ContainerLayout
has_backing_int_type: bool

Always false if layout != .@"packed".

any_field_aligns: bool
any_field_defaults: bool
any_comptime_fields: bool
_: u5 = 0

File

zig/Zir.zig:3520
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
        pub const Small = packed struct(u16) {
            has_captures_len: bool,
            has_decls_len: bool,
            has_fields_len: bool,
            name_strategy: NameStrategy,
            layout: std.lang.Type.ContainerLayout,
            /// Always `false` if `layout != .@"packed"`.
            has_backing_int_type: bool,
            any_field_aligns: bool,
            any_field_defaults: bool,
            any_comptime_fields: bool,
            _: u5 = 0,
        }