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. Private Struct

ScanContainerResult

Private Struct
std.zig.AstGen.ScanContainerResult
const ScanContainerResult = struct

Fields

decls_len: u32

Includes unnamed declarations (e.g. comptime decls)

fields_len: u32
any_field_aligns: bool
any_field_values: bool
any_comptime_fields: bool
has_underscore_field: bool

Whether there is a field named _ (indicating a non-exhaustive enum)

File

zig/AstGen.zig:12892
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
const ScanContainerResult = struct {
    /// Includes unnamed declarations (e.g. `comptime` decls)
    decls_len: u32,
    fields_len: u32,
    any_field_aligns: bool,
    any_field_values: bool,
    any_comptime_fields: bool,
    /// Whether there is a field named `_` (indicating a non-exhaustive enum)
    has_underscore_field: bool,
}