Skip to main content

PathExt

Trait PathExt 

Source
pub trait PathExt {
    // Required method
    fn short_path(&self, home: &Self) -> String;
}

Required Methods§

Source

fn short_path(&self, home: &Self) -> String

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl PathExt for Path

Source§

fn short_path(&self, home: &Self) -> String

Implementors§