Trait ra_ap_hir_def::src::HasSource[][src]

pub trait HasSource {
    type Value;
    fn source(&self, db: &dyn DefDatabase) -> InFile<Self::Value>;
}

Associated Types

Loading content...

Required methods

fn source(&self, db: &dyn DefDatabase) -> InFile<Self::Value>[src]

Loading content...

Implementors

impl<N: ItemTreeNode> HasSource for AssocItemLoc<N>[src]

type Value = N::Source

impl<N: ItemTreeNode> HasSource for ItemLoc<N>[src]

type Value = N::Source

Loading content...