Function parse_segment

Source
fn parse_segment(cx: &mut ParseCtxt<'_>) -> ParseResult<PathSegment>
Expand description
⟨segment⟩ := ⟨ident⟩ ⟨ < ⟨generic_arg⟩,* > ⟩?