Trait HasSource
ra_ap_hir_def::src
pub trait HasSource { type Value; fn source(&self, db: &dyn DefDatabase) -> InFile<Self::Value>; }
type Value
fn source(&self, db: &dyn DefDatabase) -> InFile<Self::Value>
impl<N: ItemTreeNode> HasSource for AssocItemLoc<N>
type Value = N::Source
fn source(&self, db: &dyn DefDatabase) -> InFile<N::Source>
impl<N: ItemTreeNode> HasSource for ItemLoc<N>