pub trait PythonUsageSource: PythonSource {
// Required method
fn usage_index(&self) -> Arc<PythonUsageIndex> ⓘ;
}Expand description
PythonSource plus the built usage index. Everything reached from
the export/importer walks needs it; the index build itself must not.
Required Methods§
fn usage_index(&self) -> Arc<PythonUsageIndex> ⓘ
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".