cairo_lang_syntax::node::helpers

Trait UsePathEx

Source
pub trait UsePathEx {
    // Required method
    fn get_item(&self, db: &dyn SyntaxGroup) -> ItemUse;
}
Expand description

Helper trait for ast::UsePath.

Required Methods§

Source

fn get_item(&self, db: &dyn SyntaxGroup) -> ItemUse

Retrieves the item of a use path.

Implementors§