compiletest::util

Trait PathBufExt

source
pub trait PathBufExt {
    // Required method
    fn with_extra_extension<S: AsRef<OsStr>>(&self, extension: S) -> PathBuf;
}

Required Methods§

source

fn with_extra_extension<S: AsRef<OsStr>>(&self, extension: S) -> PathBuf

Append an extension to the path, even if it already has one.

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.

Implementations on Foreign Types§

source§

impl PathBufExt for PathBuf

source§

fn with_extra_extension<S: AsRef<OsStr>>(&self, extension: S) -> PathBuf

Implementors§