structstd.zig.Zir.Inst.SwitchBlock.ProngInfo[src]

These are stored in trailing data in extra for each prong.

Fields

body_len: u28
capture: ProngInfo.Capture
is_inline: bool
has_tag_capture: bool

Source Code

Source code
pub const ProngInfo = packed struct(u32) {
    body_len: u28,
    capture: ProngInfo.Capture,
    is_inline: bool,
    has_tag_capture: bool,

    pub const Capture = enum(u2) {
        none,
        by_val,
        by_ref,
    };
}