Function 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.