Trait hir::HasCrate[][src]

pub trait HasCrate {
    fn krate(&self, db: &dyn HirDatabase) -> Crate;
}
Expand description

Trait for obtaining the defining crate of an item.

Required methods

Implementors