pub trait HasChildSource<ChildId> {
type Value;
// Required method
fn child_source(
&self,
db: &dyn SourceDatabase,
) -> InFile<ArenaMap<ChildId, Self::Value>>;
}Required Associated Types§
Required Methods§
fn child_source( &self, db: &dyn SourceDatabase, ) -> InFile<ArenaMap<ChildId, Self::Value>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".