Function ra_ap_ide_db::traits::resolve_target_trait
source · [−]pub fn resolve_target_trait(
sema: &Semantics<'_, RootDatabase>,
impl_def: &Impl
) -> Option<Trait>
Expand description
Given the impl
block, attempts to find the trait this impl
corresponds to.