Skip to main content

PythonUsageSource

Trait PythonUsageSource 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§