Skip to main content

PathExt

Trait PathExt 

Source
pub trait PathExt {
    // Required method
    fn same_as(&self, other: &Path) -> bool;
}
Expand description

Filesystem path comparison extensions.

Required Methods§

Source

fn same_as(&self, other: &Path) -> bool

Return whether two paths identify the same absolute path.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§