pub fn variant_match_pattern(variant: &ParsedEnumVariant) -> StringExpand description
Generate the destructuring match pattern for a variant.
E.g. "Active", "Text(v0)", "Image { name, width }".
pub fn variant_match_pattern(variant: &ParsedEnumVariant) -> StringGenerate the destructuring match pattern for a variant.
E.g. "Active", "Text(v0)", "Image { name, width }".