cairo_lang_syntax::node::helpers

Trait PathSegmentEx

Source
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.

Required Methods§

Implementors§