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.

Object Safety§

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§