Skip to main content

PathExt

Trait PathExt 

Source
pub trait PathExt {
    // Required methods
    fn ext_str(&self) -> &str;
    fn file_name_str(&self) -> &str;
}

Required Methods§

Source

fn ext_str(&self) -> &str

Source

fn file_name_str(&self) -> &str

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl PathExt for Path

Source§

fn ext_str(&self) -> &str

Source§

fn file_name_str(&self) -> &str

Implementors§