ToPath

Trait ToPath 

Source
pub trait ToPath {
    // Required method
    fn to_path(&self) -> &Path;
}
Expand description

Returns a reference to itself as a [std::path::Path]. Usefull for different kind of strings (&str or String).

Required Methods§

Source

fn to_path(&self) -> &Path

Implementors§