struct Bits [src]
Fields
has_multi_cases: boolIf true, one or more prongs have multiple items.
special_prongs: SpecialProngsInformation about the special prong.
any_has_tag_capture: boolIf true, at least one prong has an inline tag capture.
any_non_inline_capture: boolIf true, at least one prong has a capture which may not
be comptime-known via inline.
has_continue: boolIf true, at least one prong contains a continue.
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,
/// Information about the special prong.
special_prongs: SpecialProngs,
/// If true, at least one prong has an inline tag capture.
any_has_tag_capture: bool,
/// If true, at least one prong has a capture which may not
/// be comptime-known via `inline`.
any_non_inline_capture: bool,
/// If true, at least one prong contains a `continue`.
has_continue: bool,
scalar_cases_len: ScalarCasesLen,
pub const ScalarCasesLen = u25;
}