Trait hir_def::resolver::HasResolver
source · pub trait HasResolver: Copy {
// Required method
fn resolver(self, db: &dyn DefDatabase) -> Resolver;
}
Required Methods§
sourcefn resolver(self, db: &dyn DefDatabase) -> Resolver
fn resolver(self, db: &dyn DefDatabase) -> Resolver
Builds a resolver for type references inside this def.
Object Safety§
This trait is not object safe.