Type Alias hir_def::UnionLoc

source ·
pub type UnionLoc = ItemLoc<Union>;

Aliased Type§

struct UnionLoc {
    pub container: ModuleId,
    pub id: ItemTreeId<Union>,
}

Fields§

§container: ModuleId§id: ItemTreeId<Union>

Trait Implementations§

source§

impl Intern for UnionLoc

source§

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

source§

type ID = UnionId

source§

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

source§

impl ItemTreeLoc for UnionLoc

source§

impl InternValueTrivial for UnionLoc