pub trait PathSegmentEx {
// Required methods
fn identifier_ast(&self, db: &dyn SyntaxGroup) -> TerminalIdentifier;
fn generic_args(&self, db: &dyn SyntaxGroup) -> Option<Vec<GenericArg>>;
}
Expand description
Helper trait for ast::PathSegment.