hir_def::resolver

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

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.

Implementors§