pub trait Colorable {
// Required methods
fn path(&self) -> PathBuf;
fn file_name(&self) -> OsString;
fn file_type(&self) -> Option<FileType>;
fn metadata(&self) -> Option<Metadata>;
}
Expand description
A colorable file path.
pub trait Colorable {
// Required methods
fn path(&self) -> PathBuf;
fn file_name(&self) -> OsString;
fn file_type(&self) -> Option<FileType>;
fn metadata(&self) -> Option<Metadata>;
}
A colorable file path.