struct Bits [src]
Fields
has_multi_cases: boolIf true, one or more prongs have multiple items.
has_else: boolIf 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
Members
- ScalarCasesLen (Type)
Source
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;
}