Skip to main content

PythonImportRootInputs

Trait PythonImportRootInputs 

Source
pub trait PythonImportRootInputs {
    // Required methods
    fn contains(&self, relative_path: &Path) -> bool;
    fn configuration_source(&self, relative_path: &Path) -> Option<Cow<'_, str>>;
}
Expand description

Structured, selected inputs to the shared Python packaging-root algorithm.

Required Methods§

Source

fn contains(&self, relative_path: &Path) -> bool

Source

fn configuration_source(&self, relative_path: &Path) -> Option<Cow<'_, str>>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§