Type Alias hir_def::TraitLoc

source ·
pub type TraitLoc = ItemLoc<Trait>;

Aliased Type§

struct TraitLoc {
    pub container: ModuleId,
    pub id: ItemTreeId<Trait>,
}

Fields§

§container: ModuleId§id: ItemTreeId<Trait>

Trait Implementations§

source§

impl Intern for TraitLoc

source§

type Database<'db> = dyn DefDatabase + 'db

source§

type ID = TraitId

source§

fn intern(self, db: &Self::Database<'_>) -> TraitId

source§

impl ItemTreeLoc for TraitLoc

source§

impl InternValueTrivial for TraitLoc