Function parse_variant

Source
pub(crate) fn parse_variant(cx: &mut ParseCtxt<'_>) -> ParseResult<VariantDef>
Expand description
⟨variant⟩ := ⟨fields⟩ -> ⟨variant_ret⟩
           | ⟨fields⟩
           | ⟨variant_ret⟩