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§