Function ra_ap_hir_def::find_path::find_path[][src]

pub fn find_path(
    db: &dyn DefDatabase,
    item: ItemInNs,
    from: ModuleId
) -> Option<ModPath>
Expand description

Find a path that can be used to refer to a certain item. This can depend on from where you’re referring to the item, hence the from parameter.