Struct std::fs::FileType
[−]
[src]
pub struct FileType(_);1.1.0
An structure representing a type of file with accessors for each file type.
Methods
impl FileType
fn is_dir(&self) -> bool
Test whether this file type represents a directory.
fn is_file(&self) -> bool
Test whether this file type represents a regular file.
fn is_symlink(&self) -> bool
Test whether this file type represents a symbolic link.