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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.