Struct std::fs::FileType [] [src]

pub struct FileType {
    dir: bool,
    file: bool,
}

Fields

dir
file

Methods

impl FileType

fn is_dir(&self) -> bool

fn is_file(&self) -> bool