Trait ra_ap_hir_def::src::HasChildSource [−][src]
pub trait HasChildSource<ChildId> { type Value; fn child_source(
&self,
db: &dyn DefDatabase
) -> InFile<ArenaMap<ChildId, Self::Value>>; }
Associated Types
Required methods
fn child_source(
&self,
db: &dyn DefDatabase
) -> InFile<ArenaMap<ChildId, Self::Value>>
[src]Implementors
fn child_source(
&self,
db: &dyn DefDatabase
) -> InFile<ArenaMap<LocalEnumVariantId, Self::Value>>
[src]type Value = Either<TupleField, RecordField>
type Value = ConstParam
fn child_source(
&self,
db: &dyn DefDatabase
) -> InFile<ArenaMap<LocalConstParamId, Self::Value>>
[src]type Value = LifetimeParam
fn child_source(
&self,
db: &dyn DefDatabase
) -> InFile<ArenaMap<LocalLifetimeParamId, Self::Value>>
[src]fn child_source(
&self,
db: &dyn DefDatabase
) -> InFile<ArenaMap<LocalTypeParamId, Self::Value>>
[src]