hir_def

Trait ItemTreeLoc

source
pub trait ItemTreeLoc {
    type Container;
    type Id;

    // Required methods
    fn item_tree_id(&self) -> ItemTreeId<Self::Id>;
    fn container(&self) -> Self::Container;
}

Required Associated Types§

Required Methods§

source

fn item_tree_id(&self) -> ItemTreeId<Self::Id>

source

fn container(&self) -> Self::Container

Implementors§

source§

impl ItemTreeLoc for AssocItemLoc<Const>

source§

impl ItemTreeLoc for AssocItemLoc<Function>

source§

impl ItemTreeLoc for AssocItemLoc<TypeAlias>

source§

impl ItemTreeLoc for EnumVariantLoc

source§

impl ItemTreeLoc for ItemLoc<ExternBlock>

source§

impl ItemTreeLoc for ItemLoc<ExternCrate>

source§

impl ItemTreeLoc for ItemLoc<Impl>

source§

impl ItemTreeLoc for ItemLoc<Struct>

source§

impl ItemTreeLoc for ItemLoc<Use>

source§

impl ItemTreeLoc for Macro2Loc

source§

impl ItemTreeLoc for MacroRulesLoc

source§

impl ItemTreeLoc for ProcMacroLoc

source§

impl ItemTreeLoc for EnumLoc

source§

impl ItemTreeLoc for StaticLoc

source§

impl ItemTreeLoc for TraitAliasLoc

source§

impl ItemTreeLoc for TraitLoc

source§

impl ItemTreeLoc for UnionLoc