Type Alias hir_def::EnumLoc

source ·
pub type EnumLoc = ItemLoc<Enum>;

Aliased Type§

struct EnumLoc {
    pub container: ModuleId,
    pub id: ItemTreeId<Enum>,
}

Fields§

§container: ModuleId§id: ItemTreeId<Enum>

Trait Implementations§

source§

impl Intern for EnumLoc

source§

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

source§

type ID = EnumId

source§

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

source§

impl ItemTreeLoc for EnumLoc

source§

impl InternValueTrivial for EnumLoc