pub trait PathEx {
// Required methods
fn to_config_path(&self) -> PathBuf;
fn to_path(&self) -> PathBuf;
fn get_content(&self) -> String;
}Required Methods§
fn to_config_path(&self) -> PathBuf
fn to_path(&self) -> PathBuf
fn get_content(&self) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".