pub trait PathExt {
// Required method
fn path_if_exists(self) -> Option<Self>
where Self: Sized;
}Expand description
An extension trait for checking if a path exists.
Required Methods§
fn path_if_exists(self) -> Option<Self>where
Self: Sized,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".