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

ValidateDestructure

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

Fields

operand: Ref

The value being destructured.

destructure_node: Ast.Node.Offset

The destructure_assign node.

expect_len: u32

The expected field count.

File

zig/Zir.zig:4007
4007
4008
4009
4010
4011
4012
4013
4014
    pub const ValidateDestructure = struct {
        /// The value being destructured.
        operand: Ref,
        /// The `destructure_assign` node.
        destructure_node: Ast.Node.Offset,
        /// The expected field count.
        expect_len: u32,
    }