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§