Trait AsFileLocation

Source
pub trait AsFileLocation {
    type FilePath: AsRef<Path>;

    // Required method
    fn file_location(&self) -> Self::FilePath;
}
Expand description

Trait to get this value as a file location

Required Associated Types§

Source

type FilePath: AsRef<Path>

Some type that can be interpreted as a path

Required Methods§

Source

fn file_location(&self) -> Self::FilePath

Get the file location of this value

Implementors§