Trait hir_def::resolver::HasResolver

source ·
pub trait HasResolver: Copy {
    // Required method
    fn resolver(self, db: &dyn DefDatabase) -> Resolver;
}

Required Methods§

source

fn resolver(self, db: &dyn DefDatabase) -> Resolver

Builds a resolver for type references inside this def.

Object Safety§

This trait is not object safe.

Implementors§