pub trait PathResolver: WorkspacePaths {
// Provided methods
fn resolve<P>(&self, relative: P) -> PathBuf
where P: AsRef<Path> { ... }
fn resolve_config<P>(&self, relative: P) -> PathBuf
where P: AsRef<Path> { ... }
}Expand description
Helper trait that adds path resolution helpers on top of WorkspacePaths.
Provided Methods§
Sourcefn resolve_config<P>(&self, relative: P) -> PathBuf
fn resolve_config<P>(&self, relative: P) -> PathBuf
Resolve a path within the configuration directory.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.