UsePathEx

Trait UsePathEx 

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

Helper trait for ast::UsePath.

Required Methods§

Source

fn get_item(&self, db: &'a dyn Database) -> ItemUse<'a>

Retrieves the item of a use path.

Implementors§

Source§

impl<'a> UsePathEx<'a> for UsePath<'a>