Trait PathReferenceNamespaceResolver

Source
pub trait PathReferenceNamespaceResolver {
    // Required methods
    fn namespace_root(&self, namespace: &str) -> Option<PathBuf>;
    fn simplify_path(&self, path: &Path) -> Option<(String, PathBuf)>;
}

Required Methods§

Source

fn namespace_root(&self, namespace: &str) -> Option<PathBuf>

Source

fn simplify_path(&self, path: &Path) -> Option<(String, PathBuf)>

Implementors§