pub trait PathExt {
// Required methods
fn is_windows(&self) -> bool;
fn same_as(&self, other: &Path) -> bool;
}Expand description
Filesystem path comparison extensions.
Required Methods§
Sourcefn is_windows(&self) -> bool
fn is_windows(&self) -> bool
Return whether this path is a Windows drive path such as C:/... or C:\....
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".