Trait PathBufExt

Source
pub trait PathBufExt {
    // Required method
    fn pushing<P: AsRef<Path>>(self, path: P) -> PathBuf;
}
Expand description

Extended functionality for PathBuf.

Required Methods§

Source

fn pushing<P: AsRef<Path>>(self, path: P) -> PathBuf

Like join, only reusing the underlying buffer.

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 pushing<P: AsRef<Path>>(self, path: P) -> PathBuf

Implementors§