pub trait PlatformPath {
// Required methods
fn separator(&self) -> char;
fn is_absolute(&self) -> bool;
fn to_platform_specific(&self) -> String;
}Expand description
Platform-specific path operations
Required Methods§
Sourcefn is_absolute(&self) -> bool
fn is_absolute(&self) -> bool
Check if path is absolute
Sourcefn to_platform_specific(&self) -> String
fn to_platform_specific(&self) -> String
Convert to platform-specific canonical path
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".