structstd.zig.Zir.Inst.SwitchBlockErrUnion.Bits[src]

Types

TypeScalarCasesLen[src]

Source Code

Source code
pub const ScalarCasesLen = u28

Fields

has_multi_cases: bool

If true, one or more prongs have multiple items.

has_else: bool

If true, there is an else prong. This is mutually exclusive with has_under.

any_uses_err_capture: bool
payload_is_ref: bool
scalar_cases_len: ScalarCasesLen

Source Code

Source code
pub const Bits = packed struct(u32) {
    /// If true, one or more prongs have multiple items.
    has_multi_cases: bool,
    /// If true, there is an else prong. This is mutually exclusive with `has_under`.
    has_else: bool,
    any_uses_err_capture: bool,
    payload_is_ref: bool,
    scalar_cases_len: ScalarCasesLen,

    pub const ScalarCasesLen = u28;
}