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