Struct std::fs::DirEntry [] [src]

pub struct DirEntry {
    path: PathBuf,
    dir: bool,
    file: bool,
}

Fields

path
dir
file

Methods

impl DirEntry

fn file_name(&self) -> &PathBuf

fn file_type(&self) -> Result<FileType>

fn path(&self) -> &PathBuf